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

/*++
Copyright (c) 1998 Microsoft Corporation
Module Name:
timezone.h
Abstract:
Declares types, constants and enum interfaces for time zone
mapping and migration.
Author:
Marc R. Whitten (marcw) 10-Jul-1998
Revision History:
<alias> <date> <comments>
--*/
#pragma once
// common stuff
//#include "common.h"
#define MAX_TIMEZONE MAX_TCHAR_PATH
#define TZFLAG_USE_FORCED_MAPPINGS 0x00000001
#define TZFLAG_ENUM_ALL 0x00000002
typedef struct {
PCTSTR CurTimeZone;
TCHAR NtTimeZone[MAX_TIMEZONE];
PCTSTR MapIndex;
UINT MapCount;
DWORD Flags;
MEMDB_ENUM Enum;
} TIMEZONE_ENUM, *PTIMEZONE_ENUM;
BOOL
EnumFirstTimeZone (
IN PTIMEZONE_ENUM EnumPtr,
IN DWORD Flags
);
BOOL
EnumNextTimeZone (
IN PTIMEZONE_ENUM EnumPtr
);
BOOL
ForceTimeZoneMap (
PCTSTR NtTimeZone
);