properly query the device map

svn path=/trunk/; revision=13194
This commit is contained in:
Thomas Bluemel 2005-01-21 21:29:29 +00:00
parent 4da8f45753
commit ec6ea0795a

View file

@ -76,8 +76,8 @@ NtProcessStartup(PPEB Peb)
Status = NtQueryInformationProcess(NtCurrentProcess(), Status = NtQueryInformationProcess(NtCurrentProcess(),
ProcessDeviceMap, ProcessDeviceMap,
&DeviceMap, &DeviceMap.Query,
sizeof(DeviceMap), sizeof(DeviceMap.Query),
NULL); NULL);
if(NT_SUCCESS(Status)) if(NT_SUCCESS(Status))
{ {