ReactOS 0.4.16-dev-1056-gbe87e00
globals.h
Go to the documentation of this file.
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 along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17 */
18
19#pragma once
20
21typedef struct _ADMIN_INFO
22{
27
28
29typedef struct _ITEMSDATA
30{
33
34typedef struct _REGISTRATIONNOTIFY
35{
43
44
45#define PM_REGISTRATION_NOTIFY (WM_APP + 1)
46/* Private Message used to communicate progress from the background
47 registration thread to the main thread.
48 wParam = 0 Registration in progress
49 = 1 Registration completed
50 lParam = Pointer to a REGISTRATIONNOTIFY structure */
51
52#define PM_ITEM_START (WM_APP + 2)
53/* Start of a new Item
54 wParam = item number
55 lParam = number of steps */
56
57#define PM_ITEM_END (WM_APP + 3)
58/* End of a new Item
59 wParam = unused
60 lParam = Error Code */
61
62#define PM_STEP_START (WM_APP + 4)
63#define PM_STEP_END (WM_APP + 5)
64#define PM_ITEMS_DONE (WM_APP + 6)
65
66
68extern HINF hSysSetupInf;
70
71/* install */
72
73BOOL
75 _In_ PITEMSDATA pItemsData,
77 _In_ HINF hinf,
78 _In_ LPCWSTR szSection);
79
80VOID
82 _In_ PITEMSDATA pItemsData);
83
84/* netinstall.c */
85
86BOOL
88 _In_ PWSTR pszComponentId);
89
90/* security.c */
91
95
96VOID
98
99/* wizard.c */
101
102/* EOF */
LONG NTSTATUS
Definition: precomp.h:26
VOID SetAutoAdminLogon(VOID)
Definition: security.c:1748
NTSTATUS SetAdministratorPassword(LPCWSTR Password)
Definition: security.c:1609
struct _ITEMSDATA * PITEMSDATA
VOID InstallSecurity(VOID)
Definition: security.c:1569
BOOL InstallNetworkComponent(_In_ PWSTR pszComponentId)
Definition: netinstall.c:467
struct _REGISTRATIONNOTIFY * PREGISTRATIONNOTIFY
ADMIN_INFO AdminInfo
Definition: install.c:38
struct _ADMIN_INFO ADMIN_INFO
HINF hSysSetupInf
Definition: install.c:37
BOOL RegisterTypeLibraries(_In_ PITEMSDATA pItemsData, _In_ PREGISTRATIONNOTIFY pNotify, _In_ HINF hinf, _In_ LPCWSTR szSection)
Definition: install.c:539
VOID InstallWizard(VOID)
Definition: wizard.c:3244
struct _ADMIN_INFO * PADMIN_INFO
struct _REGISTRATIONNOTIFY REGISTRATIONNOTIFY
struct _ITEMSDATA ITEMSDATA
VOID InstallStartMenuItems(_In_ PITEMSDATA pItemsData)
Definition: install.c:313
HINSTANCE hDllInstance
Definition: browser.c:17
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned int UINT
Definition: ndis.h:50
#define _In_
Definition: no_sal2.h:158
LPWSTR Password
Definition: globals.h:25
LPWSTR Name
Definition: globals.h:23
LPWSTR Domain
Definition: globals.h:24
HWND hwndDlg
Definition: globals.h:31
LPCWSTR ErrorMessage
Definition: globals.h:39
LPCWSTR CurrentItem
Definition: globals.h:38
@ Password
Definition: telnetd.h:65
uint16_t * PWSTR
Definition: typedefs.h:56
uint32_t ULONG
Definition: typedefs.h:59
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185