Changeset 9950 in vbox for trunk/src/VBox/Runtime/testcase
- Timestamp:
- Jun 26, 2008 11:56:57 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 32376
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/ntGetTimerResolution.cpp
r8245 r9950 39 39 extern "C" { 40 40 /* from sysinternals. */ 41 NTSYSAPI LONG NTAPI NtQueryTimerResolution(OUT PULONG M inimumResolution, OUT PULONG MaximumResolution, OUT PULONG CurrentResolution);41 NTSYSAPI LONG NTAPI NtQueryTimerResolution(OUT PULONG MaximumResolution, OUT PULONG MinimumResolution, OUT PULONG CurrentResolution); 42 42 } 43 43 … … 48 48 ULONG Max = ~0; 49 49 ULONG Cur = ~0; 50 NtQueryTimerResolution(&M in, &Max, &Cur);51 printf("NtQueryTimerResolution -> M in=%lu Max=%lu Cur=%lu (100ns)\n", Min, Max, Cur);50 NtQueryTimerResolution(&Max, &Min, &Cur); 51 printf("NtQueryTimerResolution -> Max=%lu00ns Min=%lu00ns Cur=%lu00ns\n", Min, Max, Cur); 52 52 53 53 #if 0
Note:
See TracChangeset
for help on using the changeset viewer.