NtWow64QueryInformationProcess64

[DllImport("ntdll.dll", SetLastError = true)]
public static extern int NtWow64QueryInformationProcess64(
   IntPtr ProcessHandle,
   uint ProcessInformationClass,
   ref IntPtr ProcessInformation,
   uint ProcessInformationLength,
   out uint ReturnLength
);

Microsoft documentation: Link

Last updated