mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
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:
parent
775f129dc9
commit
da28a303cc
1 changed files with 2 additions and 2 deletions
|
@ -401,7 +401,7 @@ RtlLocalTimeToSystemTime(IN PLARGE_INTEGER LocalTime,
|
||||||
SYSTEM_TIMEOFDAY_INFORMATION TimeInformation;
|
SYSTEM_TIMEOFDAY_INFORMATION TimeInformation;
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
|
||||||
Status = NtQuerySystemInformation(SystemTimeOfDayInformation,
|
Status = ZwQuerySystemInformation(SystemTimeOfDayInformation,
|
||||||
&TimeInformation,
|
&TimeInformation,
|
||||||
sizeof(SYSTEM_TIMEOFDAY_INFORMATION),
|
sizeof(SYSTEM_TIMEOFDAY_INFORMATION),
|
||||||
NULL);
|
NULL);
|
||||||
|
@ -426,7 +426,7 @@ RtlSystemTimeToLocalTime(IN PLARGE_INTEGER SystemTime,
|
||||||
SYSTEM_TIMEOFDAY_INFORMATION TimeInformation;
|
SYSTEM_TIMEOFDAY_INFORMATION TimeInformation;
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
|
||||||
Status = NtQuerySystemInformation(SystemTimeOfDayInformation,
|
Status = ZwQuerySystemInformation(SystemTimeOfDayInformation,
|
||||||
&TimeInformation,
|
&TimeInformation,
|
||||||
sizeof(SYSTEM_TIMEOFDAY_INFORMATION),
|
sizeof(SYSTEM_TIMEOFDAY_INFORMATION),
|
||||||
NULL);
|
NULL);
|
||||||
|
|
Loading…
Reference in a new issue