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.

31 lines
758 B

  1. /**************************************************************************************************
  2. FILENAME: GetTime.h
  3. COPYRIGHT 2001 Microsoft Corporation and Executive Software International, Inc.
  4. DESCRIPTION:
  5. Prototypes for the file-system time fetcher.
  6. **************************************************************************************************/
  7. //Returns the current system time in FILETIME format.
  8. BOOL
  9. GetTime(
  10. FILETIME* pFileTime
  11. );
  12. // This routine returns a formatted time string for output.
  13. PTCHAR
  14. GetTmpTimeString(
  15. SYSTEMTIME & pTime
  16. );
  17. // This routine returns the number of seconds between two system times.
  18. BOOL
  19. GetDeltaTime(
  20. SYSTEMTIME * pStartTime,
  21. SYSTEMTIME * pEndTime,
  22. DWORD * pdwSeconds
  23. );