File tree Expand file tree Collapse file tree 1 file changed +0
-37
lines changed
modules/rostests/apitests/ntdll Expand file tree Collapse file tree 1 file changed +0
-37
lines changed Original file line number Diff line number Diff line change 77
88#include "precomp.h"
99
10- #if 0
11- /*
12- * RTL_SYSTEM_TIME is almost the same as the SYSTEMTIME structure defined
13- * in winbase.h, however we need to define it differently here.
14- * This is used by RtlQueryTimeZoneInformation and RtlSetTimeZoneInformation.
15- * See: https://social.msdn.microsoft.com/Forums/en-US/home?forum=en-US and
16- * Search: Reading TimeZone binary data from registry by Patrick
17- * and then look at the last post showing typedef struct SYSTEMTIME_TZI.
18- */
19- typedef struct _RTL_SYSTEM_TIME {
20- WORD wYear ;
21- WORD wMonth ;
22- WORD wDay ; /* wDayOfWeek was here normally */
23- WORD wHour ;
24- WORD wMinute ;
25- WORD wSecond ;
26- WORD wMilliseconds ;
27- WORD wDayOfWeek ; /* wDayOfWeek relocated to here */
28- } RTL_SYSTEM_TIME ;
29-
30- /*
31- * RTL_TIME_ZONE_INFORMATION is the same as the TIME_ZONE_INFORMATION structure
32- * defined in winbase.h, however we need to define RTL_TIME_ZONE_INFORMATION
33- * separately here so we don't depend on winbase.h.
34- * This is used by RtlQueryTimeZoneInformation and RtlSetTimeZoneInformation.
35- */
36- typedef struct _RTL_TIME_ZONE_INFORMATION {
37- LONG Bias ;
38- WCHAR StandardName [32 ];
39- RTL_SYSTEM_TIME StandardDate ;
40- LONG StandardBias ;
41- WCHAR DaylightName [32 ];
42- RTL_SYSTEM_TIME DaylightDate ;
43- LONG DaylightBias ;
44- } RTL_TIME_ZONE_INFORMATION ;
45- #endif
46-
4710static NTSTATUS (WINAPI * pRtlQueryTimeZoneInformation )( RTL_TIME_ZONE_INFORMATION * );
4811
4912static void test_RtlQueryTimeZoneInformation (void )
You can’t perform that action at this time.
0 commit comments