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.

52 lines
691 B

  1. /*
  2. Copyright (c) 1992 Microsoft Corporation
  3. Module Name:
  4. time.h
  5. Abstract:
  6. This file defines macros and prototypes for time related operations.
  7. header files.
  8. Author:
  9. Jameel Hyder (microsoft!jameelh)
  10. Revision History:
  11. 25 Apr 1992 Initial Version
  12. Notes: Tab stop: 4
  13. --*/
  14. #ifndef _TIME_
  15. #define _TIME_
  16. #define AfpGetPerfCounter(pTime) *(pTime) = KeQueryPerformanceCounter(NULL)
  17. extern
  18. VOID
  19. AfpGetCurrentTimeInMacFormat(
  20. OUT PAFPTIME MacTime
  21. );
  22. extern
  23. AFPTIME
  24. AfpConvertTimeToMacFormat(
  25. IN PTIME pSomeTime
  26. );
  27. extern
  28. VOID
  29. AfpConvertTimeFromMacFormat(
  30. IN AFPTIME MacTime,
  31. OUT PTIME pNtTime
  32. );
  33. #endif // _TIME_
  34. 
  35.