[ros-diffs] [weiden] 17991: 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

weiden at svn.reactos.com weiden at svn.reactos.com
Fri Sep 23 01:46:29 CEST 2005


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
Modified: trunk/reactos/lib/rtl/time.c
  _____  

Modified: trunk/reactos/lib/rtl/time.c
--- trunk/reactos/lib/rtl/time.c	2005-09-22 23:23:00 UTC (rev
17990)
+++ trunk/reactos/lib/rtl/time.c	2005-09-22 23:46:20 UTC (rev
17991)
@@ -401,7 +401,7 @@

    SYSTEM_TIMEOFDAY_INFORMATION TimeInformation;
    NTSTATUS Status;
 
-   Status = NtQuerySystemInformation(SystemTimeOfDayInformation,
+   Status = ZwQuerySystemInformation(SystemTimeOfDayInformation,
                                      &TimeInformation,
 
sizeof(SYSTEM_TIMEOFDAY_INFORMATION),
                                      NULL);
@@ -426,7 +426,7 @@
    SYSTEM_TIMEOFDAY_INFORMATION TimeInformation;
    NTSTATUS Status;
 
-   Status = NtQuerySystemInformation(SystemTimeOfDayInformation,
+   Status = ZwQuerySystemInformation(SystemTimeOfDayInformation,
                                      &TimeInformation,
 
sizeof(SYSTEM_TIMEOFDAY_INFORMATION),
                                      NULL);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050923/98c7296e/attachment.html


More information about the Ros-diffs mailing list