Enable automatic adjustment of daylight savings changes.
[reactos.git] / reactos / lib / syssetup / globals.h
1 /*
2 * Copyright (C) 2004 Eric Kohl
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 */
18
19
20 typedef struct _TZ_INFO
21 {
22 LONG Bias;
23 LONG StandardBias;
24 LONG DaylightBias;
25 SYSTEMTIME StandardDate;
26 SYSTEMTIME DaylightDate;
27 } TZ_INFO, *PTZ_INFO;
28
29 typedef struct _TIMEZONE_ENTRY
30 {
31 struct _TIMEZONE_ENTRY *Prev;
32 struct _TIMEZONE_ENTRY *Next;
33 WCHAR Description[64]; /* 'Display' */
34 WCHAR StandardName[32]; /* 'Std' */
35 WCHAR DaylightName[32]; /* 'Dlt' */
36 TZ_INFO TimezoneInfo; /* 'TZI' */
37 ULONG Index;
38 } TIMEZONE_ENTRY, *PTIMEZONE_ENTRY;
39
40
41
42 typedef struct _SETUPDATA
43 {
44 HFONT hTitleFont;
45
46 TCHAR OwnerName[51];
47 TCHAR OwnerOrganization[51];
48 TCHAR ComputerName[MAX_COMPUTERNAME_LENGTH + 1]; /* max. 63 characters */
49 TCHAR AdminPassword[15]; /* max. 14 characters */
50
51 SYSTEMTIME SystemTime;
52 PTIMEZONE_ENTRY TimeZoneListHead;
53 PTIMEZONE_ENTRY TimeZoneListTail;
54 } SETUPDATA, *PSETUPDATA;
55
56
57 extern HINSTANCE hDllInstance;
58 extern HINF hSysSetupInf;
59
60 /* wizard.c */
61 VOID InstallWizard (VOID);
62
63 /* EOF */