4 * System setup API, native interface
6 * This file is part of the ReactOS Operating System.
11 * THIS SOFTWARE IS NOT COPYRIGHTED
13 * This source code is offered for use in the public domain. You may
14 * use, modify or distribute it freely.
16 * This code is distributed in the hope that it will be useful but
17 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
18 * DISCLAMED. This includes but is not limited to warranties of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23 #ifndef __SYSSETUP_H_INCLUDED__
24 #define __SYSSETUP_H_INCLUDED__
27 typedef struct _TZ_INFO
32 SYSTEMTIME StandardDate
;
33 SYSTEMTIME DaylightDate
;
36 typedef struct _TIMEZONE_ENTRY
38 struct _TIMEZONE_ENTRY
*Prev
;
39 struct _TIMEZONE_ENTRY
*Next
;
40 WCHAR Description
[64]; /* 'Display' */
41 WCHAR StandardName
[32]; /* 'Std' */
42 WCHAR DaylightName
[32]; /* 'Dlt' */
43 TZ_INFO TimezoneInfo
; /* 'TZI' */
45 } TIMEZONE_ENTRY
, *PTIMEZONE_ENTRY
;
47 typedef struct _SETUPDATA
53 WCHAR OwnerOrganization
[51];
54 WCHAR ComputerName
[MAX_COMPUTERNAME_LENGTH
+ 1]; /* max. 15 characters */
55 WCHAR AdminPassword
[128]; /* max. 127 characters */
57 BOOL DisableGeckoInst
;
59 SYSTEMTIME SystemTime
;
60 PTIMEZONE_ENTRY TimeZoneListHead
;
61 PTIMEZONE_ENTRY TimeZoneListTail
;
63 DWORD DisableAutoDaylightTimeSet
;
68 UINT uFirstNetworkWizardPage
;
69 UINT uPostNetworkWizardPage
;
70 } SETUPDATA
, *PSETUPDATA
;
73 /* System setup APIs */
89 InitializeSetupActionLog(IN BOOL bDeleteOldLogFile
);
92 TerminateSetupActionLog(VOID
);
97 IN PCWSTR pszFileName
,
100 IN PCWSTR pszMessage
,
103 #define __WFILE__ TOWL1(__FILE__)
104 #define TOWL1(p) TOWL2(p)
105 #define TOWL2(p) L##p
107 #if defined(_MSC_VER)
108 #define LogItem(lpTag, lpMessageText, ...) \
109 pSetupDebugPrint(__WFILE__, __LINE__, lpTag, lpMessageText, __VA_ARGS__)
111 #define LogItem(lpTag, lpMessageText...) \
112 pSetupDebugPrint(__WFILE__, __LINE__, lpTag, lpMessageText)
115 #endif /* __SYSSETUP_H_INCLUDED__ */