FreeRDP/winpr/libwinpr/timezone/TimeZones.h
akallabeth 8cc6582044
Unify struct definitions (#7633)
* Unified enum/struct definitions, fixed include issues

* Fixed mac compilation issues

* Added missing include

* Fixed windows server build warnings

* Fixed VS2010 build issue

* Removed unnecessary library linking

* Fixed ThreadPool WinXP compatibility

* Fixed pr review remarks
2022-02-14 14:59:22 +01:00

35 lines
655 B
C

/*
* Automatically generated with scripts/TimeZones.csx
*/
#ifndef WINPR_TIME_ZONES_H_
#define WINPR_TIME_ZONES_H_
#include <winpr/wtypes.h>
typedef struct
{
UINT64 TicksStart;
UINT64 TicksEnd;
INT32 DaylightDelta;
SYSTEMTIME StandardDate;
SYSTEMTIME DaylightDate;
} TIME_ZONE_RULE_ENTRY;
typedef struct
{
const char* Id;
INT32 Bias;
BOOL SupportsDST;
const char* DisplayName;
const char* StandardName;
const char* DaylightName;
const TIME_ZONE_RULE_ENTRY* RuleTable;
UINT32 RuleTableCount;
} TIME_ZONE_ENTRY;
extern const TIME_ZONE_ENTRY TimeZoneTable[];
extern const size_t TimeZoneTableNrElements;
#endif /* WINPR_TIME_ZONES_H_ */