Use getFunctionAddress, getPointerToFunction is deprecated.