I somewhere found such information. Can do it to you it is useful.Nico Bendlin wrote:Does somebody know which parameters should be passed to RtlWow64CallFunction64 (32-bit) to succeed (call 64-bit RtlpQueryProcessDebugInformationFromWow64)?
Code: Select all
DWORD64 X64Call(DWORD64 func, int argC, ...);
Low level function that can call any x64 API from NTDLL.
func - address of x64 function, can be obtained by GetProcAddress64()
argC - number of arguments that will be passed to the 'func'
... - rest of arguments for 'func', all values should be casted to DWORD64