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.

46 lines
722 B

  1. #ifndef __EFITIMEFUNC__
  2. #define __EFITIMEFUNC__
  3. /*++
  4. Copyright (c) 1999 Microsoft Corporation
  5. Module Name:
  6. efitimefunc.hxx
  7. Abstract:
  8. This contains declarations of time related functions for efilib so we don't
  9. need any of windows.h.
  10. Revision History:
  11. --*/
  12. // taken from \nt\private\ntos\rtl\time.c
  13. BOOLEAN
  14. RtlTimeFieldsToTime (
  15. IN PTIME_FIELDS TimeFields,
  16. OUT PLARGE_INTEGER Time
  17. );
  18. VOID
  19. RtlTimeToTimeFields (
  20. IN PLARGE_INTEGER Time,
  21. OUT PTIME_FIELDS TimeFields
  22. );
  23. NTSTATUS
  24. RtlSystemTimeToLocalTime (
  25. IN PLARGE_INTEGER SystemTime,
  26. OUT PLARGE_INTEGER LocalTime
  27. );
  28. NTSTATUS
  29. EfiQuerySystemTime(
  30. OUT PLARGE_INTEGER SystemTime
  31. );
  32. #endif // __EFITIMEFUNC__