Leaked source code of windows server 2003
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.

24 lines
986 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 AccurateGetTickCount2(unsigned __int64 * pqwTick);
  13. void __fastcall AccurateGetInterruptCount(unsigned __int64 * pqwTick);
  14. void __fastcall AccurateGetInterruptCount2(unsigned __int64 * pqwTick);
  15. void __fastcall AccurateGetSystemTime(unsigned __int64 * pqwTime);
  16. // WARNING! YOU MUST HAVE TIME SET PRIVILEGE FOR THIS TO WORK. NO ERROR IS RETURNED!
  17. void __fastcall AccurateSetSystemTime(unsigned __int64 * pqwTime);
  18. unsigned __int32 SetTimeSlipEvent(HANDLE hTimeSlipEvent);
  19. void GetSysExpirationDate(unsigned __int64 * pqwTime);
  20. #endif // ACCURATE_SYS_CALLS_H