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.

39 lines
587 B

  1. #ifndef _DATE_HXX_
  2. #define _DATE_HXX_
  3. HRESULT
  4. NTTimeFormattoDateFormat(
  5. LARGE_INTEGER *NTTimeFormat,
  6. DATE *DateFormat
  7. );
  8. HRESULT
  9. ConvertDATEtoDWORD(
  10. DATE daDate,
  11. DWORD *pdwDate,
  12. BOOL fIsGMT = FALSE
  13. );
  14. HRESULT
  15. ConvertSystemTimeToDATE(
  16. SYSTEMTIME Time,
  17. DATE * pdaTime
  18. );
  19. HRESULT
  20. ConvertDWORDtoDATE(
  21. DWORD dwTime,
  22. DATE * pdaTime,
  23. BOOL fIsGMT = FALSE
  24. );
  25. HRESULT
  26. ConvertDATEToSYSTEMTIME(
  27. DATE daDate,
  28. SYSTEMTIME *psysDate
  29. );
  30. #endif // ifndef _DATE_HXX_