Skip to content

Commit 5549fbd

Browse files
committed
[NTDLL_APITEST] Remove unused / broken definitions
1 parent 7b9ef6b commit 5549fbd

File tree

1 file changed

+0
-37
lines changed

1 file changed

+0
-37
lines changed

modules/rostests/apitests/ntdll/RtlQueryTimeZoneInfo.c

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -7,43 +7,6 @@
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-
4710
static NTSTATUS (WINAPI *pRtlQueryTimeZoneInformation)( RTL_TIME_ZONE_INFORMATION *);
4811

4912
static void test_RtlQueryTimeZoneInformation(void)

0 commit comments

Comments
 (0)