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.

60 lines
852 B

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. timezone.h
  5. Abstract:
  6. Declares types, constants and enum interfaces for time zone
  7. mapping and migration.
  8. Author:
  9. Marc R. Whitten (marcw) 10-Jul-1998
  10. Revision History:
  11. <alias> <date> <comments>
  12. --*/
  13. #pragma once
  14. // common stuff
  15. //#include "common.h"
  16. #define MAX_TIMEZONE MAX_TCHAR_PATH
  17. #define TZFLAG_USE_FORCED_MAPPINGS 0x00000001
  18. #define TZFLAG_ENUM_ALL 0x00000002
  19. typedef struct {
  20. PCTSTR CurTimeZone;
  21. TCHAR NtTimeZone[MAX_TIMEZONE];
  22. PCTSTR MapIndex;
  23. UINT MapCount;
  24. DWORD Flags;
  25. MEMDB_ENUM Enum;
  26. } TIMEZONE_ENUM, *PTIMEZONE_ENUM;
  27. BOOL
  28. EnumFirstTimeZone (
  29. IN PTIMEZONE_ENUM EnumPtr,
  30. IN DWORD Flags
  31. );
  32. BOOL
  33. EnumNextTimeZone (
  34. IN PTIMEZONE_ENUM EnumPtr
  35. );
  36. BOOL
  37. ForceTimeZoneMap (
  38. PCTSTR NtTimeZone
  39. );