Commit f773e148 authored by Anatoly Lyutin's avatar Anatoly Lyutin Committed by Alexandre Julliard

kernel32: Implement IsWow64Process.

parent 549f7c91
......@@ -2928,8 +2928,17 @@ DWORD WINAPI RegisterServiceProcess(DWORD dwProcessId, DWORD dwType)
*/
BOOL WINAPI IsWow64Process(HANDLE hProcess, PBOOL Wow64Process)
{
FIXME("(%p %p) stub!\n", hProcess, Wow64Process);
*Wow64Process = FALSE;
ULONG pbi;
NTSTATUS status;
status = NtQueryInformationProcess( hProcess, ProcessWow64Information, &pbi, sizeof(pbi), NULL );
if (status != STATUS_SUCCESS)
{
SetLastError( RtlNtStatusToDosError( status ) );
return FALSE;
}
*Wow64Process = (pbi != 0);
return TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment