some Nt vs. Zw fixes; these functions shouldn't be used in ntoskrnl but since they're shared there's a chance they could be used

svn path=/trunk/; revision=17991
This commit is contained in:
Thomas Bluemel 2005-09-22 23:46:20 +00:00
parent 775f129dc9
commit da28a303cc

View file

@ -401,7 +401,7 @@ RtlLocalTimeToSystemTime(IN PLARGE_INTEGER LocalTime,
SYSTEM_TIMEOFDAY_INFORMATION TimeInformation;
NTSTATUS Status;
Status = NtQuerySystemInformation(SystemTimeOfDayInformation,
Status = ZwQuerySystemInformation(SystemTimeOfDayInformation,
&TimeInformation,
sizeof(SYSTEM_TIMEOFDAY_INFORMATION),
NULL);
@ -426,7 +426,7 @@ RtlSystemTimeToLocalTime(IN PLARGE_INTEGER SystemTime,
SYSTEM_TIMEOFDAY_INFORMATION TimeInformation;
NTSTATUS Status;
Status = NtQuerySystemInformation(SystemTimeOfDayInformation,
Status = ZwQuerySystemInformation(SystemTimeOfDayInformation,
&TimeInformation,
sizeof(SYSTEM_TIMEOFDAY_INFORMATION),
NULL);