FreeRDP
winpr/include/winpr/timezone.h File Reference
#include <winpr/winpr.h>
#include <winpr/wtypes.h>
#include <winpr/windows.h>
This graph shows which files directly or indirectly include this file:

Data Structures

struct  TIME_ZONE_INFORMATION
 
struct  DYNAMIC_TIME_ZONE_INFORMATION
 

Macros

#define TIME_ZONE_ID_UNKNOWN   0
 
#define TIME_ZONE_ID_STANDARD   1
 
#define TIME_ZONE_ID_DAYLIGHT   2
 

Typedefs

typedef struct TIME_ZONE_INFORMATIONPTIME_ZONE_INFORMATION
 
typedef struct TIME_ZONE_INFORMATIONLPTIME_ZONE_INFORMATION
 
typedef struct DYNAMIC_TIME_ZONE_INFORMATIONPDYNAMIC_TIME_ZONE_INFORMATION
 
typedef struct DYNAMIC_TIME_ZONE_INFORMATIONLPDYNAMIC_TIME_ZONE_INFORMATION
 

Functions

WINPR_API DWORD GetTimeZoneInformation (LPTIME_ZONE_INFORMATION lpTimeZoneInformation)
 
WINPR_API BOOL SetTimeZoneInformation (const TIME_ZONE_INFORMATION *lpTimeZoneInformation)
 
WINPR_API BOOL SystemTimeToFileTime (const SYSTEMTIME *lpSystemTime, LPFILETIME lpFileTime)
 
WINPR_API BOOL FileTimeToSystemTime (const FILETIME *lpFileTime, LPSYSTEMTIME lpSystemTime)
 
WINPR_API BOOL SystemTimeToTzSpecificLocalTime (LPTIME_ZONE_INFORMATION lpTimeZone, LPSYSTEMTIME lpUniversalTime, LPSYSTEMTIME lpLocalTime)
 
WINPR_API BOOL TzSpecificLocalTimeToSystemTime (LPTIME_ZONE_INFORMATION lpTimeZoneInformation, LPSYSTEMTIME lpLocalTime, LPSYSTEMTIME lpUniversalTime)
 
WINPR_API DWORD GetDynamicTimeZoneInformation (PDYNAMIC_TIME_ZONE_INFORMATION pTimeZoneInformation)
 
WINPR_API BOOL SetDynamicTimeZoneInformation (const DYNAMIC_TIME_ZONE_INFORMATION *lpTimeZoneInformation)
 
WINPR_API BOOL GetTimeZoneInformationForYear (USHORT wYear, PDYNAMIC_TIME_ZONE_INFORMATION pdtzi, LPTIME_ZONE_INFORMATION ptzi)
 
WINPR_API BOOL SystemTimeToTzSpecificLocalTimeEx (const DYNAMIC_TIME_ZONE_INFORMATION *lpTimeZoneInformation, const SYSTEMTIME *lpUniversalTime, LPSYSTEMTIME lpLocalTime)
 
WINPR_API BOOL TzSpecificLocalTimeToSystemTimeEx (const DYNAMIC_TIME_ZONE_INFORMATION *lpTimeZoneInformation, const SYSTEMTIME *lpLocalTime, LPSYSTEMTIME lpUniversalTime)
 
WINPR_API DWORD EnumDynamicTimeZoneInformation (const DWORD dwIndex, PDYNAMIC_TIME_ZONE_INFORMATION lpTimeZoneInformation)
 
WINPR_API DWORD GetDynamicTimeZoneInformationEffectiveYears (const PDYNAMIC_TIME_ZONE_INFORMATION lpTimeZoneInformation, LPDWORD FirstYear, LPDWORD LastYear)
 

Macro Definition Documentation

◆ TIME_ZONE_ID_DAYLIGHT

#define TIME_ZONE_ID_DAYLIGHT   2

◆ TIME_ZONE_ID_STANDARD

#define TIME_ZONE_ID_STANDARD   1

◆ TIME_ZONE_ID_UNKNOWN

#define TIME_ZONE_ID_UNKNOWN   0

Typedef Documentation

◆ LPDYNAMIC_TIME_ZONE_INFORMATION

◆ LPTIME_ZONE_INFORMATION

◆ PDYNAMIC_TIME_ZONE_INFORMATION

◆ PTIME_ZONE_INFORMATION

Function Documentation

◆ EnumDynamicTimeZoneInformation()

WINPR_API DWORD EnumDynamicTimeZoneInformation ( const DWORD  dwIndex,
PDYNAMIC_TIME_ZONE_INFORMATION  lpTimeZoneInformation 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ FileTimeToSystemTime()

WINPR_API BOOL FileTimeToSystemTime ( const FILETIME *  lpFileTime,
LPSYSTEMTIME  lpSystemTime 
)

◆ GetDynamicTimeZoneInformation()

WINPR_API DWORD GetDynamicTimeZoneInformation ( PDYNAMIC_TIME_ZONE_INFORMATION  pTimeZoneInformation)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetDynamicTimeZoneInformationEffectiveYears()

WINPR_API DWORD GetDynamicTimeZoneInformationEffectiveYears ( const PDYNAMIC_TIME_ZONE_INFORMATION  lpTimeZoneInformation,
LPDWORD  FirstYear,
LPDWORD  LastYear 
)

◆ GetTimeZoneInformation()

WINPR_API DWORD GetTimeZoneInformation ( LPTIME_ZONE_INFORMATION  lpTimeZoneInformation)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetTimeZoneInformationForYear()

WINPR_API BOOL GetTimeZoneInformationForYear ( USHORT  wYear,
PDYNAMIC_TIME_ZONE_INFORMATION  pdtzi,
LPTIME_ZONE_INFORMATION  ptzi 
)

◆ SetDynamicTimeZoneInformation()

WINPR_API BOOL SetDynamicTimeZoneInformation ( const DYNAMIC_TIME_ZONE_INFORMATION lpTimeZoneInformation)

◆ SetTimeZoneInformation()

WINPR_API BOOL SetTimeZoneInformation ( const TIME_ZONE_INFORMATION lpTimeZoneInformation)

◆ SystemTimeToFileTime()

WINPR_API BOOL SystemTimeToFileTime ( const SYSTEMTIME *  lpSystemTime,
LPFILETIME  lpFileTime 
)

◆ SystemTimeToTzSpecificLocalTime()

WINPR_API BOOL SystemTimeToTzSpecificLocalTime ( LPTIME_ZONE_INFORMATION  lpTimeZone,
LPSYSTEMTIME  lpUniversalTime,
LPSYSTEMTIME  lpLocalTime 
)

◆ SystemTimeToTzSpecificLocalTimeEx()

WINPR_API BOOL SystemTimeToTzSpecificLocalTimeEx ( const DYNAMIC_TIME_ZONE_INFORMATION lpTimeZoneInformation,
const SYSTEMTIME *  lpUniversalTime,
LPSYSTEMTIME  lpLocalTime 
)

◆ TzSpecificLocalTimeToSystemTime()

WINPR_API BOOL TzSpecificLocalTimeToSystemTime ( LPTIME_ZONE_INFORMATION  lpTimeZoneInformation,
LPSYSTEMTIME  lpLocalTime,
LPSYSTEMTIME  lpUniversalTime 
)

◆ TzSpecificLocalTimeToSystemTimeEx()

WINPR_API BOOL TzSpecificLocalTimeToSystemTimeEx ( const DYNAMIC_TIME_ZONE_INFORMATION lpTimeZoneInformation,
const SYSTEMTIME *  lpLocalTime,
LPSYSTEMTIME  lpUniversalTime 
)