Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
752 B

  1. //--------------------------------------------------------------------
  2. // AccurateSysCalls - header
  3. // Copyright (C) Microsoft Corporation, 1999
  4. //
  5. // Created by: Louis Thomas (louisth), 9-24-99
  6. //
  7. // More accurate time functions calling the NT api directly
  8. //
  9. #ifndef ACCURATE_SYS_CALLS_H
  10. #define ACCURATE_SYS_CALLS_H
  11. void __fastcall AccurateGetTickCount(unsigned __int64 * pqwTick);
  12. void __fastcall AccurateGetSystemTime(unsigned __int64 * pqwTime);
  13. // WARNING! YOU MUST HAVE TIME SET PRIVILEGE FOR THIS TO WORK. NO ERROR IS RETURNED!
  14. void __fastcall AccurateSetSystemTime(unsigned __int64 * pqwTime);
  15. unsigned __int32 SetTimeSlipEvent(HANDLE hTimeSlipEvent);
  16. void GetSysExpirationDate(unsigned __int64 * pqwTime);
  17. #endif // ACCURATE_SYS_CALLS_H