1 | /*
|
---|
2 | * Copyright (C) 2000 James Hatheway
|
---|
3 | * Copyright (C) 2007 Juan Lang
|
---|
4 | *
|
---|
5 | * This library is free software; you can redistribute it and/or
|
---|
6 | * modify it under the terms of the GNU Lesser General Public
|
---|
7 | * License as published by the Free Software Foundation; either
|
---|
8 | * version 2.1 of the License, or (at your option) any later version.
|
---|
9 | *
|
---|
10 | * This library is distributed in the hope that it will be useful,
|
---|
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
13 | * Lesser General Public License for more details.
|
---|
14 | *
|
---|
15 | * You should have received a copy of the GNU Lesser General Public
|
---|
16 | * License along with this library; if not, write to the Free Software
|
---|
17 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
18 | */
|
---|
19 |
|
---|
20 | /*
|
---|
21 | * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
22 | * other than GPL or LGPL is available it will apply instead, Sun elects to use only
|
---|
23 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
24 | * a choice of LGPL license versions is made available with the language indicating
|
---|
25 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
26 | * of the LGPL is applied is otherwise unspecified.
|
---|
27 | */
|
---|
28 |
|
---|
29 | #ifndef _INC_SETUPAPI
|
---|
30 | #define _INC_SETUPAPI
|
---|
31 |
|
---|
32 | #include <commctrl.h>
|
---|
33 |
|
---|
34 | #ifdef _WIN64
|
---|
35 | #include <pshpack8.h>
|
---|
36 | #else
|
---|
37 | #include <pshpack1.h>
|
---|
38 | #endif
|
---|
39 |
|
---|
40 | /* setupapi doesn't use the normal convention, it adds an underscore before A/W */
|
---|
41 | #ifdef WINE_NO_UNICODE_MACROS
|
---|
42 | # define DECL_WINELIB_SETUPAPI_TYPE_AW(type) /* nothing */
|
---|
43 | #else
|
---|
44 | # define DECL_WINELIB_SETUPAPI_TYPE_AW(type) typedef WINELIB_NAME_AW(type##_) type;
|
---|
45 | #endif
|
---|
46 |
|
---|
47 | #ifdef __cplusplus
|
---|
48 | extern "C" {
|
---|
49 | #endif
|
---|
50 |
|
---|
51 | /* Define type for handle to a loaded inf file */
|
---|
52 | typedef PVOID HINF;
|
---|
53 |
|
---|
54 | /* Define type for handle to a device information set */
|
---|
55 | typedef PVOID HDEVINFO;
|
---|
56 |
|
---|
57 | /* Define type for handle to a setup log file */
|
---|
58 | typedef PVOID HSPFILELOG;
|
---|
59 |
|
---|
60 | /* Define type for setup file queue */
|
---|
61 | typedef PVOID HSPFILEQ;
|
---|
62 |
|
---|
63 | typedef PVOID HDSKSPC;
|
---|
64 |
|
---|
65 | /* inf structure. */
|
---|
66 | typedef struct _INFCONTEXT
|
---|
67 | {
|
---|
68 | PVOID Inf;
|
---|
69 | PVOID CurrentInf;
|
---|
70 | UINT Section;
|
---|
71 | UINT Line;
|
---|
72 | } INFCONTEXT, *PINFCONTEXT;
|
---|
73 |
|
---|
74 | typedef struct _SP_ALTPLATFORM_INFO_V2
|
---|
75 | {
|
---|
76 | DWORD cbSize;
|
---|
77 | DWORD Platform;
|
---|
78 | DWORD MajorVersion;
|
---|
79 | DWORD MinorVersion;
|
---|
80 | WORD ProcessorArchitecture;
|
---|
81 | union
|
---|
82 | {
|
---|
83 | WORD Reserved;
|
---|
84 | WORD Flags;
|
---|
85 | } DUMMYUNIONNAME;
|
---|
86 | DWORD FirstValidatedMajorVersion;
|
---|
87 | DWORD FirstValidatedMinorVersion;
|
---|
88 | } SP_ALTPLATFORM_INFO_V2, *PSP_ALTPLATFORM_INFO_V2;
|
---|
89 |
|
---|
90 | #define SP_ALTPLATFORM_FLAGS_VERSION_RANGE 0x0001
|
---|
91 |
|
---|
92 | typedef struct _SP_ALTPLATFORM_INFO_V1
|
---|
93 | {
|
---|
94 | DWORD cbSize;
|
---|
95 | DWORD Platform;
|
---|
96 | DWORD MajorVersion;
|
---|
97 | DWORD MinorVersion;
|
---|
98 | WORD ProcessorArchitecture;
|
---|
99 | WORD Reserved;
|
---|
100 | } SP_ALTPLATFORM_INFO_V1, *PSP_ALTPLATFORM_INFO_V1;
|
---|
101 |
|
---|
102 | typedef SP_ALTPLATFORM_INFO_V2 SP_ALTPLATFORM_INFO;
|
---|
103 | typedef PSP_ALTPLATFORM_INFO_V2 PSP_ALTPLATFORM_INFO;
|
---|
104 |
|
---|
105 | typedef struct _SP_FILE_COPY_PARAMS_A
|
---|
106 | {
|
---|
107 | DWORD cbSize;
|
---|
108 | HSPFILEQ QueueHandle;
|
---|
109 | PCSTR SourceRootPath;
|
---|
110 | PCSTR SourcePath;
|
---|
111 | PCSTR SourceFilename;
|
---|
112 | PCSTR SourceDescription;
|
---|
113 | PCSTR SourceTagfile;
|
---|
114 | PCSTR TargetDirectory;
|
---|
115 | PCSTR TargetFilename;
|
---|
116 | DWORD CopyStyle;
|
---|
117 | HINF LayoutInf;
|
---|
118 | PCSTR SecurityDescriptor;
|
---|
119 | } SP_FILE_COPY_PARAMS_A, *PSP_FILE_COPY_PARAMS_A;
|
---|
120 |
|
---|
121 | typedef struct _SP_FILE_COPY_PARAMS_W
|
---|
122 | {
|
---|
123 | DWORD cbSize;
|
---|
124 | HSPFILEQ QueueHandle;
|
---|
125 | PCWSTR SourceRootPath;
|
---|
126 | PCWSTR SourcePath;
|
---|
127 | PCWSTR SourceFilename;
|
---|
128 | PCWSTR SourceDescription;
|
---|
129 | PCWSTR SourceTagfile;
|
---|
130 | PCWSTR TargetDirectory;
|
---|
131 | PCWSTR TargetFilename;
|
---|
132 | DWORD CopyStyle;
|
---|
133 | HINF LayoutInf;
|
---|
134 | PCWSTR SecurityDescriptor;
|
---|
135 | } SP_FILE_COPY_PARAMS_W, *PSP_FILE_COPY_PARAMS_W;
|
---|
136 |
|
---|
137 | DECL_WINELIB_SETUPAPI_TYPE_AW(SP_FILE_COPY_PARAMS)
|
---|
138 | DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_FILE_COPY_PARAMS)
|
---|
139 |
|
---|
140 | typedef struct _SP_REGISTER_CONTROL_STATUSA
|
---|
141 | {
|
---|
142 | DWORD cbSize;
|
---|
143 | PCSTR FileName;
|
---|
144 | DWORD Win32Error;
|
---|
145 | DWORD FailureCode;
|
---|
146 | } SP_REGISTER_CONTROL_STATUSA, *PSP_REGISTER_CONTROL_STATUSA;
|
---|
147 |
|
---|
148 | typedef struct _SP_REGISTER_CONTROL_STATUSW
|
---|
149 | {
|
---|
150 | DWORD cbSize;
|
---|
151 | PCWSTR FileName;
|
---|
152 | DWORD Win32Error;
|
---|
153 | DWORD FailureCode;
|
---|
154 | } SP_REGISTER_CONTROL_STATUSW, *PSP_REGISTER_CONTROL_STATUSW;
|
---|
155 |
|
---|
156 | DECL_WINELIB_TYPE_AW(SP_REGISTER_CONTROL_STATUS)
|
---|
157 | DECL_WINELIB_TYPE_AW(PSP_REGISTER_CONTROL_STATUS)
|
---|
158 |
|
---|
159 | #define SPREG_SUCCESS 0x00000000
|
---|
160 | #define SPREG_LOADLIBRARY 0x00000001
|
---|
161 | #define SPREG_GETPROCADDR 0x00000002
|
---|
162 | #define SPREG_REGSVR 0x00000003
|
---|
163 | #define SPREG_DLLINSTALL 0x00000004
|
---|
164 | #define SPREG_TIMEOUT 0x00000005
|
---|
165 | #define SPREG_UNKNOWN 0xffffffff
|
---|
166 |
|
---|
167 | typedef UINT (CALLBACK *PSP_FILE_CALLBACK_A)( PVOID Context, UINT Notification,
|
---|
168 | UINT_PTR Param1, UINT_PTR Param2 );
|
---|
169 | typedef UINT (CALLBACK *PSP_FILE_CALLBACK_W)( PVOID Context, UINT Notification,
|
---|
170 | UINT_PTR Param1, UINT_PTR Param2 );
|
---|
171 | DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_FILE_CALLBACK)
|
---|
172 |
|
---|
173 | #define LINE_LEN 256
|
---|
174 | #define MAX_INF_STRING_LENGTH 4096
|
---|
175 | #define MAX_TITLE_LEN 60
|
---|
176 | #define MAX_INSTRUCTION_LEN 256
|
---|
177 | #define MAX_LABEL_LEN 30
|
---|
178 | #define MAX_SERVICE_NAME_LEN 256
|
---|
179 | #define MAX_SUBTITLE_LEN 256
|
---|
180 | #define SP_MAX_MACHINENAME_LENGTH (MAX_PATH + 3)
|
---|
181 |
|
---|
182 | typedef UINT DI_FUNCTION;
|
---|
183 |
|
---|
184 | typedef struct _SP_CLASSINSTALL_HEADER
|
---|
185 | {
|
---|
186 | DWORD cbSize;
|
---|
187 | DI_FUNCTION InstallFunction;
|
---|
188 | } SP_CLASSINSTALL_HEADER, *PSP_CLASSINSTALL_HEADER;
|
---|
189 |
|
---|
190 | typedef struct _SP_ENABLECLASS_PARAMS
|
---|
191 | {
|
---|
192 | SP_CLASSINSTALL_HEADER ClassInstallHeader;
|
---|
193 | GUID ClassGuid;
|
---|
194 | DWORD EnableMessage;
|
---|
195 | } SP_ENABLECLASS_PARAMS, *PSP_ENABLECLASS_PARAMS;
|
---|
196 |
|
---|
197 | /* SP_ENABLECLASS_PARAMS EnableMessage values */
|
---|
198 | #define ENABLECLASS_QUERY 0
|
---|
199 | #define ENABLECLASS_SUCCESS 1
|
---|
200 | #define ENABLECLASS_FAILURE 2
|
---|
201 |
|
---|
202 | typedef struct _SP_PROPCHANGE_PARAMS
|
---|
203 | {
|
---|
204 | SP_CLASSINSTALL_HEADER ClassInstallHeader;
|
---|
205 | DWORD StateChange;
|
---|
206 | DWORD Scope;
|
---|
207 | DWORD HwProfile;
|
---|
208 | } SP_PROPCHANGE_PARAMS, *PSP_PROPCHANGE_PARAMS;
|
---|
209 |
|
---|
210 | /* SP_PROPCHANGE_PARAMS StateChange values */
|
---|
211 | #define DICS_ENABLE 0x00000001
|
---|
212 | #define DICS_DISABLE 0x00000002
|
---|
213 | #define DICS_PROPCHANGE 0x00000003
|
---|
214 | #define DICS_START 0x00000004
|
---|
215 | #define DICS_STOP 0x00000005
|
---|
216 | /* SP_PROPCHANGE_PARAMS Scope values */
|
---|
217 | #define DICS_FLAG_GLOBAL 0x00000001
|
---|
218 | #define DICS_FLAG_CONFIGSPECIFIC 0x00000002
|
---|
219 | #define DICS_FLAG_CONFIGGENERAL 0x00000004
|
---|
220 |
|
---|
221 |
|
---|
222 | typedef struct _SP_DEVINSTALL_PARAMS_A
|
---|
223 | {
|
---|
224 | DWORD cbSize;
|
---|
225 | DWORD Flags;
|
---|
226 | DWORD FlagsEx;
|
---|
227 | HWND hwndParent;
|
---|
228 | PSP_FILE_CALLBACK_A InstallMsgHandler;
|
---|
229 | PVOID InstallMsgHandlerContext;
|
---|
230 | HSPFILEQ FileQueue;
|
---|
231 | ULONG_PTR ClassInstallReserved;
|
---|
232 | DWORD Reserved;
|
---|
233 | CHAR DriverPath[MAX_PATH];
|
---|
234 | } SP_DEVINSTALL_PARAMS_A, *PSP_DEVINSTALL_PARAMS_A;
|
---|
235 |
|
---|
236 | typedef struct _SP_DEVINSTALL_PARAMS_W
|
---|
237 | {
|
---|
238 | DWORD cbSize;
|
---|
239 | DWORD Flags;
|
---|
240 | DWORD FlagsEx;
|
---|
241 | HWND hwndParent;
|
---|
242 | PSP_FILE_CALLBACK_W InstallMsgHandler;
|
---|
243 | PVOID InstallMsgHandlerContext;
|
---|
244 | HSPFILEQ FileQueue;
|
---|
245 | ULONG_PTR ClassInstallReserved;
|
---|
246 | DWORD Reserved;
|
---|
247 | WCHAR DriverPath[MAX_PATH];
|
---|
248 | } SP_DEVINSTALL_PARAMS_W, *PSP_DEVINSTALL_PARAMS_W;
|
---|
249 |
|
---|
250 | DECL_WINELIB_SETUPAPI_TYPE_AW(SP_DEVINSTALL_PARAMS)
|
---|
251 | DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_DEVINSTALL_PARAMS)
|
---|
252 |
|
---|
253 | /* SP_DEVINSTALL_PARAMS Flags values */
|
---|
254 | #define DI_SHOWOEM 0x00000001
|
---|
255 | #define DI_SHOWCOMPAT 0x00000002
|
---|
256 | #define DI_SHOWCLASS 0x00000004
|
---|
257 | #define DI_SHOWALL 0x00000007
|
---|
258 | #define DI_NOVCP 0x00000008
|
---|
259 | #define DI_DIDCOMPAT 0x00000010
|
---|
260 | #define DI_DIDCLASS 0x00000020
|
---|
261 | #define DI_AUTOASSIGNRES 0x00000040
|
---|
262 | #define DI_NEEDRESTART 0x00000080
|
---|
263 | #define DI_NEEDREBOOT 0x00000100
|
---|
264 | #define DI_NOBROWSE 0x00000200
|
---|
265 | #define DI_MULTMFGS 0x00000400
|
---|
266 | #define DI_DISABLED 0x00000800
|
---|
267 | #define DI_GENERALPAGE_ADDED 0x00001000
|
---|
268 | #define DI_RESOURCEPAGE_ADDED 0x00002000
|
---|
269 | #define DI_PROPERTIES_CHANGE 0x00004000
|
---|
270 | #define DI_INF_IS_SORTED 0x00080000
|
---|
271 | #define DI_ENUMSINGLEINF 0x00010000
|
---|
272 | #define DI_DONOTCALLCONFIGMG 0x00020000
|
---|
273 | #define DI_INSTALLDISABLED 0x00040000
|
---|
274 | #define DI_COMPAT_FROM_CLASS 0x00080000
|
---|
275 | #define DI_CLASSINSTALLPARAMS 0x00100000
|
---|
276 | #define DI_NODI_DEFAULTACTION 0x00200000
|
---|
277 | #define DI_QUIETINSTALL 0x00800000
|
---|
278 | #define DI_NOFILECOPY 0x01000000
|
---|
279 | #define DI_FORCECOPY 0x02000000
|
---|
280 | #define DI_DRIVERPAGE_ADDED 0x04000000
|
---|
281 | #define DI_USECI_SELECTSTRINGS 0x08000000
|
---|
282 | #define DI_OVERRIDE_INFFLAGS 0x10000000
|
---|
283 | #define DI_PROPS_NOCHANGEUSAGE 0x20000000
|
---|
284 | #define DI_NOSELECTICONS 0x40000000
|
---|
285 | #define DI_NOWRITE_IDS 0x80000000
|
---|
286 | /* SP_DEVINSTALL_PARAMS FlagsEx values */
|
---|
287 | #define DI_FLAGSEX_USEOLDINFSEARCH 0x00000001
|
---|
288 | #define DI_FLAGSEX_RESERVED2 0x00000002
|
---|
289 | #define DI_FLAGSEX_CI_FAILED 0x00000004
|
---|
290 | #define DI_FLAGSEX_FINISHINSTALL_ACTION 0x00000008
|
---|
291 | #define DI_FLAGSEX_DIDINFOLIST 0x00000010
|
---|
292 | #define DI_FLAGSEX_DIDCOMPATINFO 0x00000020
|
---|
293 | #define DI_FLAGSEX_FILTERCLASSES 0x00000040
|
---|
294 | #define DI_FLAGSEX_SETFAILEDINSTALL 0x00000080
|
---|
295 | #define DI_FLAGSEX_DEVICECHANGE 0x00000100
|
---|
296 | #define DI_FLAGSEX_ALWAYSWRITEIDS 0x00000200
|
---|
297 | #define DI_FLAGSEX_PROPCHANGE_PENDING 0x00000400
|
---|
298 | #define DI_FLAGSEX_ALLOWEXCLUDEDDRVS 0x00000800
|
---|
299 | #define DI_FLAGSEX_NOUIONQUERYREMOVE 0x00001000
|
---|
300 | #define DI_FLAGSEX_USECLASSFORCOMPAT 0x00002000
|
---|
301 | #define DI_FLAGSEX_RESERVED3 0x00004000
|
---|
302 | #define DI_FLAGSEX_NO_DRVREG_MODIFY 0x00008000
|
---|
303 | #define DI_FLAGSEX_IN_SYSTEM_SETUP 0x00010000
|
---|
304 | #define DI_FLAGSEX_INET_DRIVER 0x00020000
|
---|
305 | #define DI_FLAGSEX_APPENDDRIVERLIST 0x00040000
|
---|
306 | #define DI_FLAGSEX_PREINSTALLBACKUP 0x00080000
|
---|
307 | #define DI_FLAGSEX_BACKUPONREPLACE 0x00100000
|
---|
308 | #define DI_FLAGSEX_DRIVERLIST_FROM_URL 0x00200000
|
---|
309 | #define DI_FLAGSEX_RESERVED1 0x00400000
|
---|
310 | #define DI_FLAGSEX_EXCLUDE_OLD_INET_DRIVERS 0x00800000
|
---|
311 | #define DI_FLAGSEX_POWERPAGE_ADDED 0x01000000
|
---|
312 | #define DI_FLAGSEX_FILTERSIMILARDRIVERS 0x02000000
|
---|
313 | #define DI_FLAGSEX_INSTALLEDDRIVER 0x04000000
|
---|
314 | #define DI_FLAGSEX_NO_CLASSLIST_NODE_MERGE 0x08000000
|
---|
315 | #define DI_FLAGSEX_ALTPLATFORM_DRVSEARCH 0x10000000
|
---|
316 | #define DI_FLAGSEX_RESTART_DEVICE_ONLY 0x20000000
|
---|
317 | #define DI_FLAGSEX_RECURSIVESEARCH 0x40000000
|
---|
318 | #define DI_FLAGSEX_SEARCH_PUBLISHED_INFS 0x80000000
|
---|
319 |
|
---|
320 | typedef struct _SP_REMOVEDEVICE_PARAMS
|
---|
321 | {
|
---|
322 | SP_CLASSINSTALL_HEADER ClassInstallHeader;
|
---|
323 | DWORD Scope;
|
---|
324 | DWORD HwProfile;
|
---|
325 | } SP_REMOVEDEVICE_PARAMS, *PSP_REMOVEDEVICE_PARAMS;
|
---|
326 |
|
---|
327 | /* SP_REMOVEDEVICE_PARAMS Scope values */
|
---|
328 | #define DI_REMOVEDEVICE_GLOBAL 0x00000001
|
---|
329 | #define DI_REMOVEDEVICE_CONFIGSPECIFIC 0x00000002
|
---|
330 |
|
---|
331 | typedef struct _SP_UNREMOVEDEVICE_PARAMS
|
---|
332 | {
|
---|
333 | SP_CLASSINSTALL_HEADER ClassInstallHeader;
|
---|
334 | DWORD Scope;
|
---|
335 | DWORD HwProfile;
|
---|
336 | } SP_UNREMOVEDEVICE_PARAMS, *PSP_UNREMOVEDEVICE_PARAMS;
|
---|
337 |
|
---|
338 | /* SP_UNREMOVEDEVICE_PARAMS Scope values */
|
---|
339 | #define DI_UNREMOVEDEVICE_CONFIGSPECIFIC 0x00000002
|
---|
340 |
|
---|
341 | typedef struct _SP_SELECTDEVICE_PARAMS_A
|
---|
342 | {
|
---|
343 | SP_CLASSINSTALL_HEADER ClassInstallHeader;
|
---|
344 | CHAR Title[MAX_TITLE_LEN];
|
---|
345 | CHAR Instructions[MAX_INSTRUCTION_LEN];
|
---|
346 | CHAR ListLabel[MAX_LABEL_LEN];
|
---|
347 | CHAR SubTitle[MAX_SUBTITLE_LEN];
|
---|
348 | BYTE Reserved[2];
|
---|
349 | } SP_SELECTDEVICE_PARAMS_A, *PSP_SELECTDEVICE_PARAMS_A;
|
---|
350 |
|
---|
351 | typedef struct _SP_SELECTDEVICE_PARAMS_W
|
---|
352 | {
|
---|
353 | SP_CLASSINSTALL_HEADER ClassInstallHeader;
|
---|
354 | WCHAR Title[MAX_TITLE_LEN];
|
---|
355 | WCHAR Instructions[MAX_INSTRUCTION_LEN];
|
---|
356 | WCHAR ListLabel[MAX_LABEL_LEN];
|
---|
357 | WCHAR SubTitle[MAX_SUBTITLE_LEN];
|
---|
358 | } SP_SELECTDEVICE_PARAMS_W, *PSP_SELECTDEVICE_PARAMS_W;
|
---|
359 |
|
---|
360 | typedef BOOL (CALLBACK *PDETECT_PROGRESS_NOTIFY)(PVOID ProgressNotifyParam,
|
---|
361 | DWORD DetectComplete);
|
---|
362 |
|
---|
363 | typedef struct _SP_DETECTDEVICE_PARAMS
|
---|
364 | {
|
---|
365 | SP_CLASSINSTALL_HEADER ClassInstallHeader;
|
---|
366 | PDETECT_PROGRESS_NOTIFY DetectProgressNotify;
|
---|
367 | PVOID ProgressNotifyParam;
|
---|
368 | } SP_DETECTDEVICE_PARAMS, *PSP_DETECTDEVICE_PARAMS;
|
---|
369 |
|
---|
370 | #define MAX_INSTALLWIZARD_DYNAPAGES 20
|
---|
371 |
|
---|
372 | typedef struct _SP_INSTALLWIZARD_DATA
|
---|
373 | {
|
---|
374 | SP_CLASSINSTALL_HEADER ClassInstallHeader;
|
---|
375 | DWORD Flags;
|
---|
376 | HPROPSHEETPAGE DynamicPages[MAX_INSTALLWIZARD_DYNAPAGES];
|
---|
377 | DWORD NumDynamicPages;
|
---|
378 | DWORD DynamicPageFlags;
|
---|
379 | DWORD PrivateFlags;
|
---|
380 | LPARAM PrivateData;
|
---|
381 | HWND hwndWizardDlg;
|
---|
382 | } SP_INSTALLWIZARD_DATA, *PSP_INSTALLWIZARD_DATA;
|
---|
383 |
|
---|
384 | /* SP_INSTALLWIZARD_DATA Flags values */
|
---|
385 | #define NDW_INSTALLFLAG_DIDFACTDEFS 0x00000001
|
---|
386 | #define NDW_INSTALLFLAG_HARDWAREALLREADYIN 0x00000002
|
---|
387 | #define NDW_INSTALLFLAG_NEEDRESTART DI_NEEDRESTART
|
---|
388 | #define NDW_INSTALLFLAG_NEEDREBOOT DI_NEEDREBOOT
|
---|
389 | #define NDW_INSTALLFLAG_NEEDSHUTDOWN 0x00000200
|
---|
390 | #define NDW_INSTALLFLAG_EXPRESSINTRO 0x00000400
|
---|
391 | #define NDW_INSTALLFLAG_SKIPISDEVINSTALLED 0x00000800
|
---|
392 | #define NDW_INSTALLFLAG_NODETECTEDDEVS 0x00001000
|
---|
393 | #define NDW_INSTALLFLAG_INSTALLSPECIFIC 0x00002000
|
---|
394 | #define NDW_INSTALLFLAG_SKIPCLASSLIST 0x00004000
|
---|
395 | #define NDW_INSTALLFLAG_CI_PICKED_OEM 0x00008000
|
---|
396 | #define NDW_INSTALLFLAG_PCMCIAMODE 0x00010000
|
---|
397 | #define NDW_INSTALLFLAG_PCMCIADEVICE 0x00020000
|
---|
398 | #define NDW_INSTALLFLAG_USERCANCEL 0x00040000
|
---|
399 | #define NDW_INSTALLFLAG_KNOWNCLASS 0x00080000
|
---|
400 | /* SP_INSTALLWIZARD_DATA DynamicPageFlags values */
|
---|
401 | #define DYNAWIZ_FLAG_PAGESADDED 0x00000001
|
---|
402 | #define DYNAWIZ_FLAG_INSTALLDET_NEXT 0x00000002
|
---|
403 | #define DYNAWIZ_FLAG_INSTALLDET_PREV 0x00000004
|
---|
404 | #define DYNAWIZ_FLAG_ANALYZE_HANDLECONFLICT 0x00000008
|
---|
405 |
|
---|
406 | /* Resource IDs */
|
---|
407 | #define MIN_IDD_DYNAWIZ_RESOURCE_ID 10000
|
---|
408 | #define MAX_IDD_DYNAWIZ_RESOURCE_ID 11000
|
---|
409 |
|
---|
410 | #define IDD_DYNAWIZ_FIRSTPAGE 10000
|
---|
411 | #define IDD_DYNAWIZ_SELECT_PREVPAGE 10001
|
---|
412 | #define IDD_DYNAWIZ_SELECT_NEXTPAGE 10002
|
---|
413 | #define IDD_DYNAWIZ_ANALYZE_PREVPAGE 10003
|
---|
414 | #define IDD_DYNAWIZ_ANALYZE_NEXTPAGE 10004
|
---|
415 | #define IDD_DYNAWIZ_INSTALLDETECTED_PREVPAGE 10006
|
---|
416 | #define IDD_DYNAWIZ_INSTALLDETECTED_NEXTPAGE 10007
|
---|
417 | #define IDD_DYNAWIZ_INSTALLDETECTED_NODEVS 10008
|
---|
418 | #define IDD_DYNAWIZ_SELECTDEV_PAGE 10009
|
---|
419 | #define IDD_DYNAWIZ_ANALYZEDEV_PAGE 10010
|
---|
420 | #define IDD_DYNAWIZ_INSTALLDETECTEDDEVS_PAGE 10011
|
---|
421 | #define IDD_DYNAWIZ_SELECTCLASS_PAGE 10012
|
---|
422 |
|
---|
423 | #define IDI_RESOURCEFIRST 159
|
---|
424 | #define IDI_RESOURCE IDI_RESOURCEFIRST
|
---|
425 | #define IDI_RESOURCELAST 161
|
---|
426 | #define IDI_RESOURCEOVERLAYFIRST 161
|
---|
427 | #define IDI_RESOURCEOVERLAYLAST 161
|
---|
428 |
|
---|
429 | #define IDI_CLASSICON_OVERLAYFIRST 500
|
---|
430 | #define IDI_CLASSICON_OVERLAYLAST 502
|
---|
431 | #define IDI_PROBLEM_OVL 500
|
---|
432 | #define IDI_DISABLED_OVL 501
|
---|
433 | #define IDI_FORCED_OVL 502
|
---|
434 |
|
---|
435 | typedef struct _SP_NEWDEVICEWIZARD_DATA
|
---|
436 | {
|
---|
437 | SP_CLASSINSTALL_HEADER ClassInstallHeader;
|
---|
438 | DWORD Flags;
|
---|
439 | HPROPSHEETPAGE DynamicPages[MAX_INSTALLWIZARD_DYNAPAGES];
|
---|
440 | DWORD NumDynamicPages;
|
---|
441 | HWND hwndWizardDlg;
|
---|
442 | } SP_NEWDEVICEWIZARD_DATA, *PSP_NEWDEVICEWIZARD_DATA;
|
---|
443 |
|
---|
444 | typedef SP_NEWDEVICEWIZARD_DATA SP_ADDPROPERTYPAGE_DATA;
|
---|
445 | typedef PSP_NEWDEVICEWIZARD_DATA PSP_ADDPROPERTYPAGE_DATA;
|
---|
446 |
|
---|
447 | typedef struct _SP_TROUBLESHOOTER_PARAMS_A
|
---|
448 | {
|
---|
449 | SP_CLASSINSTALL_HEADER ClassInstallHeader;
|
---|
450 | CHAR ChmFile[MAX_PATH];
|
---|
451 | CHAR HtmlTroubleShooter[MAX_PATH];
|
---|
452 | } SP_TROUBLESHOOTER_PARAMS_A, *PSP_TROUBLESHOOTER_PARAMS_A;
|
---|
453 |
|
---|
454 | typedef struct _SP_TROUBLESHOOTER_PARAMS_W
|
---|
455 | {
|
---|
456 | SP_CLASSINSTALL_HEADER ClassInstallHeader;
|
---|
457 | WCHAR ChmFile[MAX_PATH];
|
---|
458 | WCHAR HtmlTroubleShooter[MAX_PATH];
|
---|
459 | } SP_TROUBLESHOOTER_PARAMS_W, *PSP_TROUBLESHOOTER_PARAMS_W;
|
---|
460 |
|
---|
461 | DECL_WINELIB_SETUPAPI_TYPE_AW(SP_TROUBLESHOOTER_PARAMS)
|
---|
462 | DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_TROUBLESHOOTER_PARAMS)
|
---|
463 |
|
---|
464 | typedef struct _SP_POWERMESSAGEWAKE_PARAMS_A
|
---|
465 | {
|
---|
466 | SP_CLASSINSTALL_HEADER ClassInstallHeader;
|
---|
467 | CHAR PowerMessageWake[LINE_LEN * 2];
|
---|
468 | } SP_POWERMESSAGEWAKE_PARAMS_A, *PSP_POWERMESSAGEWAKE_PARAMS_A;
|
---|
469 |
|
---|
470 | typedef struct _SP_POWERMESSAGEWAKE_PARAMS_W
|
---|
471 | {
|
---|
472 | SP_CLASSINSTALL_HEADER ClassInstallHeader;
|
---|
473 | WCHAR PowerMessageWake[LINE_LEN * 2];
|
---|
474 | } SP_POWERMESSAGEWAKE_PARAMS_W, *PSP_POWERMESSAGEWAKE_PARAMS_W;
|
---|
475 |
|
---|
476 | DECL_WINELIB_SETUPAPI_TYPE_AW(SP_POWERMESSAGEWAKE_PARAMS)
|
---|
477 | DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_POWERMESSAGEWAKE_PARAMS)
|
---|
478 |
|
---|
479 | typedef struct _SP_DRVINFO_DATA_V1_A
|
---|
480 | {
|
---|
481 | DWORD cbSize;
|
---|
482 | DWORD DriverType;
|
---|
483 | ULONG_PTR Reserved;
|
---|
484 | CHAR Description[LINE_LEN];
|
---|
485 | CHAR MfgName[LINE_LEN];
|
---|
486 | CHAR ProviderName[LINE_LEN];
|
---|
487 | } SP_DRVINFO_DATA_V1_A, *PSP_DRVINFO_DATA_V1_A;
|
---|
488 |
|
---|
489 | typedef struct _SP_DRVINFO_DATA_V1_W
|
---|
490 | {
|
---|
491 | DWORD cbSize;
|
---|
492 | DWORD DriverType;
|
---|
493 | ULONG_PTR Reserved;
|
---|
494 | WCHAR Description[LINE_LEN];
|
---|
495 | WCHAR MfgName[LINE_LEN];
|
---|
496 | WCHAR ProviderName[LINE_LEN];
|
---|
497 | } SP_DRVINFO_DATA_V1_W, *PSP_DRVINFO_DATA_V1_W;
|
---|
498 |
|
---|
499 | DECL_WINELIB_SETUPAPI_TYPE_AW(SP_DRVINFO_DATA_V1)
|
---|
500 | DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_DRVINFO_DATA_V1)
|
---|
501 |
|
---|
502 | typedef struct _SP_DRVINFO_DATA_V2_A
|
---|
503 | {
|
---|
504 | DWORD cbSize;
|
---|
505 | DWORD DriverType;
|
---|
506 | ULONG_PTR Reserved;
|
---|
507 | CHAR Description[LINE_LEN];
|
---|
508 | CHAR MfgName[LINE_LEN];
|
---|
509 | CHAR ProviderName[LINE_LEN];
|
---|
510 | FILETIME DriverDate;
|
---|
511 | DWORDLONG DriverVersion;
|
---|
512 | } SP_DRVINFO_DATA_V2_A, *PSP_DRVINFO_DATA_V2_A;
|
---|
513 |
|
---|
514 | typedef struct _SP_DRVINFO_DATA_V2_W
|
---|
515 | {
|
---|
516 | DWORD cbSize;
|
---|
517 | DWORD DriverType;
|
---|
518 | ULONG_PTR Reserved;
|
---|
519 | WCHAR Description[LINE_LEN];
|
---|
520 | WCHAR MfgName[LINE_LEN];
|
---|
521 | WCHAR ProviderName[LINE_LEN];
|
---|
522 | FILETIME DriverDate;
|
---|
523 | DWORDLONG DriverVersion;
|
---|
524 | } SP_DRVINFO_DATA_V2_W, *PSP_DRVINFO_DATA_V2_W;
|
---|
525 |
|
---|
526 | DECL_WINELIB_SETUPAPI_TYPE_AW(SP_DRVINFO_DATA_V2)
|
---|
527 | DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_DRVINFO_DATA_V2)
|
---|
528 |
|
---|
529 | typedef SP_DRVINFO_DATA_V2_A SP_DRVINFO_DATA_A;
|
---|
530 | typedef PSP_DRVINFO_DATA_V2_A PSP_DRVINFO_DATA_A;
|
---|
531 | typedef SP_DRVINFO_DATA_V2_W SP_DRVINFO_DATA_W;
|
---|
532 | typedef PSP_DRVINFO_DATA_V2_W PSP_DRVINFO_DATA_W;
|
---|
533 |
|
---|
534 | DECL_WINELIB_SETUPAPI_TYPE_AW(SP_DRVINFO_DATA)
|
---|
535 | DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_DRVINFO_DATA)
|
---|
536 |
|
---|
537 | typedef struct _SP_DRVINFO_DETAIL_DATA_A
|
---|
538 | {
|
---|
539 | DWORD cbSize;
|
---|
540 | FILETIME InfDate;
|
---|
541 | DWORD CompatIDsOffset;
|
---|
542 | DWORD CompatIDsLength;
|
---|
543 | ULONG_PTR Reserved;
|
---|
544 | CHAR SectionName[LINE_LEN];
|
---|
545 | CHAR InfFileName[MAX_PATH];
|
---|
546 | CHAR DrvDescription[LINE_LEN];
|
---|
547 | CHAR HardwareID[ANYSIZE_ARRAY];
|
---|
548 | } SP_DRVINFO_DETAIL_DATA_A, *PSP_DRVINFO_DETAIL_DATA_A;
|
---|
549 |
|
---|
550 | typedef struct _SP_DRVINFO_DETAIL_DATA_W
|
---|
551 | {
|
---|
552 | DWORD cbSize;
|
---|
553 | FILETIME InfDate;
|
---|
554 | DWORD CompatIDsOffset;
|
---|
555 | DWORD CompatIDsLength;
|
---|
556 | ULONG_PTR Reserved;
|
---|
557 | WCHAR SectionName[LINE_LEN];
|
---|
558 | WCHAR InfFileName[MAX_PATH];
|
---|
559 | WCHAR DrvDescription[LINE_LEN];
|
---|
560 | WCHAR HardwareID[ANYSIZE_ARRAY];
|
---|
561 | } SP_DRVINFO_DETAIL_DATA_W, *PSP_DRVINFO_DETAIL_DATA_W;
|
---|
562 |
|
---|
563 | DECL_WINELIB_SETUPAPI_TYPE_AW(SP_DRVINFO_DETAIL_DATA)
|
---|
564 | DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_DRVINFO_DETAIL_DATA)
|
---|
565 |
|
---|
566 | typedef struct _SP_DRVINSTALL_PARAMS
|
---|
567 | {
|
---|
568 | DWORD cbSize;
|
---|
569 | DWORD Rank;
|
---|
570 | DWORD Flags;
|
---|
571 | DWORD_PTR PrivateData;
|
---|
572 | DWORD Reserved;
|
---|
573 | } SP_DRVINSTALL_PARAMS, *PSP_DRVINSTALL_PARAMS;
|
---|
574 |
|
---|
575 | /* SP_DRVINSTALL_PARAMS Flags values */
|
---|
576 | #define DNF_DUPDESC 0x00000001
|
---|
577 | #define DNF_OLDDRIVER 0x00000002
|
---|
578 | #define DNF_EXCLUDEFROMLIST 0x00000004
|
---|
579 | #define DNF_NODRIVER 0x00000008
|
---|
580 | #define DNF_LEGACYINF 0x00000010
|
---|
581 | #define DNF_CLASS_DRIVER 0x00000020
|
---|
582 | #define DNF_COMPATIBLE_DRIVER 0x00000040
|
---|
583 | #define DNF_INET_DRIVER 0x00000080
|
---|
584 | #define DNF_UNUSED1 0x00000100
|
---|
585 | #define DNF_INDEXED_DRIVER 0x00000200
|
---|
586 | #define DNF_OLD_INET_DRIVER 0x00000400
|
---|
587 | #define DNF_BAD_DRIVER 0x00000800
|
---|
588 | #define DNF_DUPPROVIDER 0x00001000
|
---|
589 | #define DNF_INF_IS_SIGNED 0x00002000
|
---|
590 | #define DNF_OEM_F6_INF 0x00004000
|
---|
591 | #define DNF_DUPDRIVERVER 0x00008000
|
---|
592 | #define DNF_BASIC_DRIVER 0x00010000
|
---|
593 | #define DNF_AUTHENTICODE_SIGNED 0x00020000
|
---|
594 | #define DNF_INSTALLEDDRIVER 0x00040000
|
---|
595 | #define DNF_ALWAYSEXCLUDEFROMLIST 0x00080000
|
---|
596 | /* SP_DRVINSTALL_PARAMS Rank values */
|
---|
597 | #define DRIVER_HARDWAREID_RANK 0x00000fff
|
---|
598 | #define DRIVER_COMPATID_RANK 0x00003fff
|
---|
599 | #define DRIVER_UNTRUSTED_RANK 0x00008000
|
---|
600 | #define DRIVER_UNTRUSTED_HARDWAREID_RANK 0x00008fff
|
---|
601 | #define DRIVER_UNTRUSTED_COMPATID_RANK 0x0000bfff
|
---|
602 | #define DRIVER_W9X_SUSPECT_RANK 0x0000c000
|
---|
603 | #define DRIVER_W9X_SUSPECT_HARDWAREID_RANK 0x0000cfff
|
---|
604 |
|
---|
605 | /* Device Information structure (references a device instance that is a member
|
---|
606 | of a device information set) */
|
---|
607 | typedef struct _SP_DEVINFO_DATA
|
---|
608 | {
|
---|
609 | DWORD cbSize;
|
---|
610 | GUID ClassGuid;
|
---|
611 | DWORD DevInst; /* DEVINST handle */
|
---|
612 | ULONG_PTR Reserved;
|
---|
613 | } SP_DEVINFO_DATA, *PSP_DEVINFO_DATA;
|
---|
614 |
|
---|
615 | typedef struct _SP_DEVICE_INTERFACE_DATA
|
---|
616 | {
|
---|
617 | DWORD cbSize;
|
---|
618 | GUID InterfaceClassGuid;
|
---|
619 | DWORD Flags;
|
---|
620 | ULONG_PTR Reserved;
|
---|
621 | } SP_DEVICE_INTERFACE_DATA, *PSP_DEVICE_INTERFACE_DATA;
|
---|
622 |
|
---|
623 | #define SPINT_ACTIVE 0x00000001
|
---|
624 | #define SPINT_DEFAULT 0x00000002
|
---|
625 | #define SPINT_REMOVED 0x00000004
|
---|
626 |
|
---|
627 | typedef SP_DEVICE_INTERFACE_DATA SP_INTERFACE_DEVICE_DATA;
|
---|
628 | typedef PSP_DEVICE_INTERFACE_DATA PSP_INTERFACE_DEVICE_DATA;
|
---|
629 | #define SPID_ACTIVE SPINT_ACTIVE
|
---|
630 | #define SPID_DEFAULT SPINT_DEFAULT
|
---|
631 | #define SPID_REMOVED SPINT_REMOVED
|
---|
632 |
|
---|
633 | typedef struct _SP_DEVICE_INTERFACE_DETAIL_DATA_A
|
---|
634 | {
|
---|
635 | DWORD cbSize;
|
---|
636 | CHAR DevicePath[ANYSIZE_ARRAY];
|
---|
637 | } SP_DEVICE_INTERFACE_DETAIL_DATA_A, *PSP_DEVICE_INTERFACE_DETAIL_DATA_A;
|
---|
638 |
|
---|
639 | typedef struct _SP_DEVICE_INTERFACE_DETAIL_DATA_W
|
---|
640 | {
|
---|
641 | DWORD cbSize;
|
---|
642 | WCHAR DevicePath[ANYSIZE_ARRAY];
|
---|
643 | } SP_DEVICE_INTERFACE_DETAIL_DATA_W, *PSP_DEVICE_INTERFACE_DETAIL_DATA_W;
|
---|
644 |
|
---|
645 | DECL_WINELIB_SETUPAPI_TYPE_AW(SP_DEVICE_INTERFACE_DETAIL_DATA)
|
---|
646 | DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_DEVICE_INTERFACE_DETAIL_DATA)
|
---|
647 |
|
---|
648 | typedef struct _SP_DEVINFO_LIST_DETAIL_DATA_A {
|
---|
649 | DWORD cbSize;
|
---|
650 | GUID ClassGuid;
|
---|
651 | HANDLE RemoteMachineHandle;
|
---|
652 | CHAR RemoteMachineName[SP_MAX_MACHINENAME_LENGTH];
|
---|
653 | } SP_DEVINFO_LIST_DETAIL_DATA_A, *PSP_DEVINFO_LIST_DETAIL_DATA_A;
|
---|
654 |
|
---|
655 | typedef struct _SP_DEVINFO_LIST_DETAIL_DATA_W {
|
---|
656 | DWORD cbSize;
|
---|
657 | GUID ClassGuid;
|
---|
658 | HANDLE RemoteMachineHandle;
|
---|
659 | WCHAR RemoteMachineName[SP_MAX_MACHINENAME_LENGTH];
|
---|
660 | } SP_DEVINFO_LIST_DETAIL_DATA_W, *PSP_DEVINFO_LIST_DETAIL_DATA_W;
|
---|
661 |
|
---|
662 | DECL_WINELIB_SETUPAPI_TYPE_AW(SP_DEVINFO_LIST_DETAIL_DATA)
|
---|
663 | DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_DEVINFO_LIST_DETAIL_DATA)
|
---|
664 |
|
---|
665 | typedef DWORD (CALLBACK *PSP_DETSIG_CMPPROC)(HDEVINFO, PSP_DEVINFO_DATA,
|
---|
666 | PSP_DEVINFO_DATA, PVOID);
|
---|
667 |
|
---|
668 | typedef struct _COINSTALLER_CONTEXT_DATA
|
---|
669 | {
|
---|
670 | BOOL PostProcessing;
|
---|
671 | DWORD InstallResult;
|
---|
672 | PVOID PrivateData;
|
---|
673 | } COINSTALLER_CONTEXT_DATA, *PCOINSTALLER_CONTEXT_DATA;
|
---|
674 |
|
---|
675 | typedef struct _SP_CLASSIMAGELIST_DATA
|
---|
676 | {
|
---|
677 | DWORD cbSize;
|
---|
678 | HIMAGELIST ImageList;
|
---|
679 | ULONG_PTR Reserved;
|
---|
680 | } SP_CLASSIMAGELIST_DATA, *PSP_CLASSIMAGELIST_DATA;
|
---|
681 |
|
---|
682 | typedef struct _SP_PROPSHEETPAGE_REQUEST
|
---|
683 | {
|
---|
684 | DWORD cbSize;
|
---|
685 | DWORD PageRequested;
|
---|
686 | HDEVINFO DeviceInfoSet;
|
---|
687 | PSP_DEVINFO_DATA DeviceInfoData;
|
---|
688 | } SP_PROPSHEETPAGE_REQUEST, *PSP_PROPSHEETPAGE_REQUEST;
|
---|
689 |
|
---|
690 | /* SP_PROPSHEETPAGE_REQUEST PageRequested values */
|
---|
691 | #define SPPSR_SELECT_DEVICE_RESOURCES 1
|
---|
692 | #define SPPSR_ENUM_BASIC_DEVICE_PROPERTIES 2
|
---|
693 | #define SPPSR_ENUM_ADV_DEVICE_PROPERTIES 3
|
---|
694 |
|
---|
695 | typedef struct _SP_BACKUP_QUEUE_PARAMS_V1_A
|
---|
696 | {
|
---|
697 | DWORD cbSize;
|
---|
698 | CHAR FullInfPath[MAX_PATH];
|
---|
699 | INT FilenameOffset;
|
---|
700 | } SP_BACKUP_QUEUE_PARAMS_V1_A, *PSP_BACKUP_QUEUE_PARAMS_V1_A;
|
---|
701 |
|
---|
702 | typedef struct _SP_BACKUP_QUEUE_PARAMS_V1_W
|
---|
703 | {
|
---|
704 | DWORD cbSize;
|
---|
705 | WCHAR FullInfPath[MAX_PATH];
|
---|
706 | INT FilenameOffset;
|
---|
707 | } SP_BACKUP_QUEUE_PARAMS_V1_W, *PSP_BACKUP_QUEUE_PARAMS_V1_W;
|
---|
708 |
|
---|
709 | DECL_WINELIB_SETUPAPI_TYPE_AW(SP_BACKUP_QUEUE_PARAMS_V1)
|
---|
710 | DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_BACKUP_QUEUE_PARAMS_V1)
|
---|
711 |
|
---|
712 | typedef struct _SP_BACKUP_QUEUE_PARAMS_V2_A
|
---|
713 | {
|
---|
714 | DWORD cbSize;
|
---|
715 | CHAR FullInfPath[MAX_PATH];
|
---|
716 | INT FilenameOffset;
|
---|
717 | CHAR ReinstallInstance[MAX_PATH];
|
---|
718 | } SP_BACKUP_QUEUE_PARAMS_V2_A, *PSP_BACKUP_QUEUE_PARAMS_V2_A;
|
---|
719 |
|
---|
720 | typedef struct _SP_BACKUP_QUEUE_PARAMS_V2_W
|
---|
721 | {
|
---|
722 | DWORD cbSize;
|
---|
723 | WCHAR FullInfPath[MAX_PATH];
|
---|
724 | INT FilenameOffset;
|
---|
725 | WCHAR ReinstallInstance[MAX_PATH];
|
---|
726 | } SP_BACKUP_QUEUE_PARAMS_V2_W, *PSP_BACKUP_QUEUE_PARAMS_V2_W;
|
---|
727 |
|
---|
728 | DECL_WINELIB_SETUPAPI_TYPE_AW(SP_BACKUP_QUEUE_PARAMS_V2)
|
---|
729 | DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_BACKUP_QUEUE_PARAMS_V2)
|
---|
730 |
|
---|
731 | typedef SP_BACKUP_QUEUE_PARAMS_V2_A SP_BACKUP_QUEUE_PARAMS_A;
|
---|
732 | typedef PSP_BACKUP_QUEUE_PARAMS_V2_A PSP_BACKUP_QUEUE_PARAMS_A;
|
---|
733 | typedef SP_BACKUP_QUEUE_PARAMS_V2_W SP_BACKUP_QUEUE_PARAMS_W;
|
---|
734 | typedef PSP_BACKUP_QUEUE_PARAMS_V2_W PSP_BACKUP_QUEUE_PARAMS_W;
|
---|
735 |
|
---|
736 | DECL_WINELIB_SETUPAPI_TYPE_AW(SP_BACKUP_QUEUE_PARAMS)
|
---|
737 | DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_BACKUP_QUEUE_PARAMS)
|
---|
738 |
|
---|
739 | typedef struct _FILE_IN_CABINET_INFO_A {
|
---|
740 | LPCSTR NameInCabinet;
|
---|
741 | DWORD FileSize;
|
---|
742 | DWORD Win32Error;
|
---|
743 | WORD DosDate;
|
---|
744 | WORD DosTime;
|
---|
745 | WORD DosAttribs;
|
---|
746 | CHAR FullTargetName[MAX_PATH];
|
---|
747 | } FILE_IN_CABINET_INFO_A, *PFILE_IN_CABINET_INFO_A;
|
---|
748 |
|
---|
749 | typedef struct _FILE_IN_CABINET_INFO_W {
|
---|
750 | LPCWSTR NameInCabinet;
|
---|
751 | DWORD FileSize;
|
---|
752 | DWORD Win32Error;
|
---|
753 | WORD DosDate;
|
---|
754 | WORD DosTime;
|
---|
755 | WORD DosAttribs;
|
---|
756 | WCHAR FullTargetName[MAX_PATH];
|
---|
757 | } FILE_IN_CABINET_INFO_W, *PFILE_IN_CABINET_INFO_W;
|
---|
758 |
|
---|
759 | DECL_WINELIB_SETUPAPI_TYPE_AW(FILE_IN_CABINET_INFO)
|
---|
760 | DECL_WINELIB_SETUPAPI_TYPE_AW(PFILE_IN_CABINET_INFO)
|
---|
761 |
|
---|
762 | typedef struct _CABINET_INFO_A {
|
---|
763 | PCSTR CabinetPath;
|
---|
764 | PCSTR CabinetFile;
|
---|
765 | PCSTR DiskName;
|
---|
766 | USHORT SetId;
|
---|
767 | USHORT CabinetNumber;
|
---|
768 | } CABINET_INFO_A, *PCABINET_INFO_A;
|
---|
769 |
|
---|
770 | typedef struct _CABINET_INFO_W {
|
---|
771 | PCWSTR CabinetPath;
|
---|
772 | PCWSTR CabinetFile;
|
---|
773 | PCWSTR DiskName;
|
---|
774 | USHORT SetId;
|
---|
775 | USHORT CabinetNumber;
|
---|
776 | } CABINET_INFO_W, *PCABINET_INFO_W;
|
---|
777 |
|
---|
778 | DECL_WINELIB_SETUPAPI_TYPE_AW(CABINET_INFO)
|
---|
779 | DECL_WINELIB_SETUPAPI_TYPE_AW(PCABINET_INFO)
|
---|
780 |
|
---|
781 | typedef struct _SP_INF_INFORMATION {
|
---|
782 | DWORD InfStyle;
|
---|
783 | DWORD InfCount;
|
---|
784 | BYTE VersionData[ANYSIZE_ARRAY];
|
---|
785 | } SP_INF_INFORMATION, *PSP_INF_INFORMATION;
|
---|
786 |
|
---|
787 | #define INF_STYLE_NONE 0x00
|
---|
788 | #define INF_STYLE_OLDNT 0x01
|
---|
789 | #define INF_STYLE_WIN4 0x02
|
---|
790 | #define INF_STYLE_CACHE_ENABLE 0x10
|
---|
791 | #define INF_STYLE_CACHE_DISABLE 0x20
|
---|
792 |
|
---|
793 | #define FILEOP_COPY 0
|
---|
794 | #define FILEOP_RENAME 1
|
---|
795 | #define FILEOP_DELETE 2
|
---|
796 | #define FILEOP_BACKUP 3
|
---|
797 |
|
---|
798 | #define FILEOP_ABORT 0
|
---|
799 | #define FILEOP_DOIT 1
|
---|
800 | #define FILEOP_SKIP 2
|
---|
801 | #define FILEOP_RETRY FILEOP_DOIT
|
---|
802 | #define FILEOP_NEWPATH 4
|
---|
803 |
|
---|
804 | #define COPYFLG_WARN_IF_SKIP 0x00000001
|
---|
805 | #define COPYFLG_NOSKIP 0x00000002
|
---|
806 | #define COPYFLG_NOVERSIONCHECK 0x00000004
|
---|
807 | #define COPYFLG_FORCE_FILE_IN_USE 0x00000008
|
---|
808 | #define COPYFLG_NO_OVERWRITE 0x00000010
|
---|
809 | #define COPYFLG_NO_VERSION_DIALOG 0x00000020
|
---|
810 | #define COPYFLG_OVERWRITE_OLDER_ONLY 0x00000040
|
---|
811 | #define COPYFLG_PROTECTED_WINDOWS_DRIVER_FILE 0x00000100
|
---|
812 | #define COPYFLG_REPLACEONLY 0x00000400
|
---|
813 | #define COPYFLG_NODECOMP 0x00000800
|
---|
814 | #define COPYFLG_REPLACE_BOOT_FILE 0x00001000
|
---|
815 | #define COPYFLG_NOPRUNE 0x00002000
|
---|
816 | #define COPYFLG_IN_USE_TRY_RENAME 0x00004000
|
---|
817 |
|
---|
818 | #define DELFLG_IN_USE 0x00000001
|
---|
819 | #define DELFLG_IN_USE1 0x00010000
|
---|
820 |
|
---|
821 | typedef struct _FILEPATHS_A
|
---|
822 | {
|
---|
823 | PCSTR Target;
|
---|
824 | PCSTR Source;
|
---|
825 | UINT Win32Error;
|
---|
826 | DWORD Flags;
|
---|
827 | } FILEPATHS_A, *PFILEPATHS_A;
|
---|
828 |
|
---|
829 | typedef struct _FILEPATHS_W
|
---|
830 | {
|
---|
831 | PCWSTR Target;
|
---|
832 | PCWSTR Source;
|
---|
833 | UINT Win32Error;
|
---|
834 | DWORD Flags;
|
---|
835 | } FILEPATHS_W, *PFILEPATHS_W;
|
---|
836 |
|
---|
837 | DECL_WINELIB_SETUPAPI_TYPE_AW(FILEPATHS)
|
---|
838 | DECL_WINELIB_SETUPAPI_TYPE_AW(PFILEPATHS)
|
---|
839 |
|
---|
840 | typedef struct _FILEPATHS_SIGNERINFO_A
|
---|
841 | {
|
---|
842 | PCSTR Target;
|
---|
843 | PCSTR Source;
|
---|
844 | UINT Win32Error;
|
---|
845 | DWORD Flags;
|
---|
846 | PCSTR DigitalSigner;
|
---|
847 | PCSTR Version;
|
---|
848 | PCSTR CatalogFile;
|
---|
849 | } FILEPATHS_SIGNERINFO_A, *PFILEPATHS_SIGNERINFO_A;
|
---|
850 |
|
---|
851 | typedef struct _FILEPATHS_SIGNERINFO_W
|
---|
852 | {
|
---|
853 | PCWSTR Target;
|
---|
854 | PCWSTR Source;
|
---|
855 | UINT Win32Error;
|
---|
856 | DWORD Flags;
|
---|
857 | PCWSTR DigitalSigner;
|
---|
858 | PCWSTR Version;
|
---|
859 | PCWSTR CatalogFile;
|
---|
860 | } FILEPATHS_SIGNERINFO_W, *PFILEPATHS_SIGNERINFO_W;
|
---|
861 |
|
---|
862 | DECL_WINELIB_SETUPAPI_TYPE_AW(FILEPATHS_SIGNERINFO)
|
---|
863 |
|
---|
864 | typedef struct _SOURCE_MEDIA_A
|
---|
865 | {
|
---|
866 | PCSTR Reserved;
|
---|
867 | PCSTR Tagfile;
|
---|
868 | PCSTR Description;
|
---|
869 | PCSTR SourcePath;
|
---|
870 | PCSTR SourceFile;
|
---|
871 | DWORD Flags;
|
---|
872 | } SOURCE_MEDIA_A, *PSOURCE_MEDIA_A;
|
---|
873 |
|
---|
874 | typedef struct _SOURCE_MEDIA_W
|
---|
875 | {
|
---|
876 | PCWSTR Reserved;
|
---|
877 | PCWSTR Tagfile;
|
---|
878 | PCWSTR Description;
|
---|
879 | PCWSTR SourcePath;
|
---|
880 | PCWSTR SourceFile;
|
---|
881 | DWORD Flags;
|
---|
882 | } SOURCE_MEDIA_W, *PSOURCE_MEDIA_W;
|
---|
883 |
|
---|
884 | DECL_WINELIB_SETUPAPI_TYPE_AW(SOURCE_MEDIA)
|
---|
885 |
|
---|
886 | typedef struct _SP_ORIGINAL_FILE_INFO_A
|
---|
887 | {
|
---|
888 | DWORD cbSize;
|
---|
889 | CHAR OriginalInfName[MAX_PATH];
|
---|
890 | CHAR OriginalCatalogName[MAX_PATH];
|
---|
891 | } SP_ORIGINAL_FILE_INFO_A, *PSP_ORIGINAL_FILE_INFO_A;
|
---|
892 |
|
---|
893 | typedef struct _SP_ORIGINAL_FILE_INFO_W
|
---|
894 | {
|
---|
895 | DWORD cbSize;
|
---|
896 | WCHAR OriginalInfName[MAX_PATH];
|
---|
897 | WCHAR OriginalCatalogName[MAX_PATH];
|
---|
898 | } SP_ORIGINAL_FILE_INFO_W, *PSP_ORIGINAL_FILE_INFO_W;
|
---|
899 |
|
---|
900 | DECL_WINELIB_SETUPAPI_TYPE_AW(SP_ORIGINAL_FILE_INFO)
|
---|
901 | DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_ORIGINAL_FILE_INFO)
|
---|
902 |
|
---|
903 | typedef struct _SP_INF_SIGNER_INFO_A
|
---|
904 | {
|
---|
905 | DWORD cbSize;
|
---|
906 | CHAR CatalogFile[MAX_PATH];
|
---|
907 | CHAR DigitalSigner[MAX_PATH];
|
---|
908 | CHAR DigitalSignerVersion[MAX_PATH];
|
---|
909 | } SP_INF_SIGNER_INFO_A, *PSP_INF_SIGNER_INFO_A;
|
---|
910 |
|
---|
911 | typedef struct _SP_INF_SIGNER_INFO_W
|
---|
912 | {
|
---|
913 | DWORD cbSize;
|
---|
914 | WCHAR CatalogFile[MAX_PATH];
|
---|
915 | WCHAR DigitalSigner[MAX_PATH];
|
---|
916 | WCHAR DigitalSignerVersion[MAX_PATH];
|
---|
917 | } SP_INF_SIGNER_INFO_W, *PSP_INF_SIGNER_INFO_W;
|
---|
918 |
|
---|
919 | DECL_WINELIB_SETUPAPI_TYPE_AW(SP_INF_SIGNER_INFO)
|
---|
920 | DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_INF_SIGNER_INFO)
|
---|
921 |
|
---|
922 | #define SPFILENOTIFY_STARTQUEUE 0x0001
|
---|
923 | #define SPFILENOTIFY_ENDQUEUE 0x0002
|
---|
924 | #define SPFILENOTIFY_STARTSUBQUEUE 0x0003
|
---|
925 | #define SPFILENOTIFY_ENDSUBQUEUE 0x0004
|
---|
926 | #define SPFILENOTIFY_STARTDELETE 0x0005
|
---|
927 | #define SPFILENOTIFY_ENDDELETE 0x0006
|
---|
928 | #define SPFILENOTIFY_DELETEERROR 0x0007
|
---|
929 | #define SPFILENOTIFY_STARTRENAME 0x0008
|
---|
930 | #define SPFILENOTIFY_ENDRENAME 0x0009
|
---|
931 | #define SPFILENOTIFY_RENAMEERROR 0x000a
|
---|
932 | #define SPFILENOTIFY_STARTCOPY 0x000b
|
---|
933 | #define SPFILENOTIFY_ENDCOPY 0x000c
|
---|
934 | #define SPFILENOTIFY_COPYERROR 0x000d
|
---|
935 | #define SPFILENOTIFY_NEEDMEDIA 0x000e
|
---|
936 | #define SPFILENOTIFY_QUEUESCAN 0x000f
|
---|
937 | #define SPFILENOTIFY_CABINETINFO 0x0010
|
---|
938 | #define SPFILENOTIFY_FILEINCABINET 0x0011
|
---|
939 | #define SPFILENOTIFY_NEEDNEWCABINET 0x0012
|
---|
940 | #define SPFILENOTIFY_FILEEXTRACTED 0x0013
|
---|
941 | #define SPFILENOTIFY_FILEOPDELAYED 0x0014
|
---|
942 | #define SPFILENOTIFY_STARTBACKUP 0x0015
|
---|
943 | #define SPFILENOTIFY_BACKUPERROR 0x0016
|
---|
944 | #define SPFILENOTIFY_ENDBACKUP 0x0017
|
---|
945 | #define SPFILENOTIFY_QUEUESCAN_EX 0x0018
|
---|
946 | #define SPFILENOTIFY_STARTREGISTRATION 0x0019
|
---|
947 | #define SPFILENOTIFY_ENDREGISTRATION 0x0020
|
---|
948 | #define SPFILENOTIFY_QUEUESCAN_SIGNERINFO 0x0040
|
---|
949 |
|
---|
950 | #define SPFILENOTIFY_LANGMISMATCH 0x00010000
|
---|
951 | #define SPFILENOTIFY_TARGETEXISTS 0x00020000
|
---|
952 | #define SPFILENOTIFY_TARGETNEWER 0x00040000
|
---|
953 |
|
---|
954 | #define SPINST_LOGCONFIG 0x00000001
|
---|
955 | #define SPINST_INIFILES 0x00000002
|
---|
956 | #define SPINST_REGISTRY 0x00000004
|
---|
957 | #define SPINST_INI2REG 0x00000008
|
---|
958 | #define SPINST_FILES 0x00000010
|
---|
959 | #define SPINST_BITREG 0x00000020
|
---|
960 | #define SPINST_REGSVR 0x00000040
|
---|
961 | #define SPINST_UNREGSVR 0x00000080
|
---|
962 | #define SPINST_PROFILEITEMS 0x00000100
|
---|
963 | #define SPINST_COPYINF 0x00000200
|
---|
964 | #define SPINST_ALL 0x000003ff
|
---|
965 | #define SPINST_SINGLESECTION 0x00010000
|
---|
966 | #define SPINST_LOGCONFIG_IS_FORCED 0x00020000
|
---|
967 | #define SPINST_LOGCONFIGS_ARE_OVERRIDES 0x00040000
|
---|
968 | #define SPINST_REGISTERCALLBACKAWARE 0x00080000
|
---|
969 |
|
---|
970 | #define SPSVCINST_TAGTOFRONT 0x00000001
|
---|
971 | #define SPSVCINST_ASSOCSERVICE 0x00000002
|
---|
972 | #define SPSVCINST_DELETEEVENTLOGENTRY 0x00000004
|
---|
973 | #define SPSVCINST_NOCLOBBER_DISPLAYNAME 0x00000008
|
---|
974 | #define SPSVCINST_NOCLOBBER_STARTTYPE 0x00000010
|
---|
975 | #define SPSVCINST_NOCLOBBER_ERRORCONTROL 0x00000020
|
---|
976 | #define SPSVCINST_NOCLOBBER_LOADORDERGROUP 0x00000040
|
---|
977 | #define SPSVCINST_NOCLOBBER_DEPENDENCIES 0x00000080
|
---|
978 | #define SPSVCINST_NOCLOBBER_DESCRIPTION 0x00000100
|
---|
979 | #define SPSVCINST_STOPSERVICE 0x00000200
|
---|
980 | #define SPSVCINST_CLOBBER_SECURITY 0x00000400
|
---|
981 | #define SPSVCINST_STARTSERVICE 0x00000800
|
---|
982 |
|
---|
983 | #define SP_COPY_DELETESOURCE 0x00000001
|
---|
984 | #define SP_COPY_REPLACEONLY 0x00000002
|
---|
985 | #define SP_COPY_NEWER 0x00000004
|
---|
986 | #define SP_COPY_NEWER_OR_SAME SP_COPY_NEWER
|
---|
987 | #define SP_COPY_NOOVERWRITE 0x00000008
|
---|
988 | #define SP_COPY_NODECOMP 0x00000010
|
---|
989 | #define SP_COPY_LANGUAGEAWARE 0x00000020
|
---|
990 | #define SP_COPY_SOURCE_ABSOLUTE 0x00000040
|
---|
991 | #define SP_COPY_SOURCEPATH_ABSOLUTE 0x00000080
|
---|
992 | #define SP_COPY_IN_USE_NEEDS_REBOOT 0x00000100
|
---|
993 | #define SP_COPY_FORCE_IN_USE 0x00000200
|
---|
994 | #define SP_COPY_NOSKIP 0x00000400
|
---|
995 | #define SP_FLAG_CABINETCONTINUATION 0x00000800
|
---|
996 | #define SP_COPY_FORCE_NOOVERWRITE 0x00001000
|
---|
997 | #define SP_COPY_FORCE_NEWER 0x00002000
|
---|
998 | #define SP_COPY_WARNIFSKIP 0x00004000
|
---|
999 | #define SP_COPY_NOBROWSE 0x00008000
|
---|
1000 | #define SP_COPY_NEWER_ONLY 0x00010000
|
---|
1001 | #define SP_COPY_SOURCE_SIS_MASTER 0x00020000
|
---|
1002 | #define SP_COPY_OEMINF_CATALOG_ONLY 0x00040000
|
---|
1003 | #define SP_COPY_REPLACE_BOOT_FILE 0x00080000
|
---|
1004 | #define SP_COPY_NOPRUNE 0x00100000
|
---|
1005 | #define SP_COPY_OEM_F6_INF 0x00200000
|
---|
1006 |
|
---|
1007 | #define SP_BACKUP_BACKUPPASS 0x00000001
|
---|
1008 | #define SP_BACKUP_DEMANDPASS 0x00000002
|
---|
1009 | #define SP_BACKUP_SPECIAL 0x00000004
|
---|
1010 | #define SP_BACKUP_BOOTFILE 0x00000008
|
---|
1011 |
|
---|
1012 | #define SPOST_NONE 0
|
---|
1013 | #define SPOST_PATH 1
|
---|
1014 | #define SPOST_URL 2
|
---|
1015 | #define SPOST_MAX 3
|
---|
1016 |
|
---|
1017 | #define SPQ_SCAN_FILE_PRESENCE 0x00000001
|
---|
1018 | #define SPQ_SCAN_FILE_VALIDITY 0x00000002
|
---|
1019 | #define SPQ_SCAN_USE_CALLBACK 0x00000004
|
---|
1020 | #define SPQ_SCAN_USE_CALLBACKEX 0x00000008
|
---|
1021 | #define SPQ_SCAN_INFORM_USER 0x00000010
|
---|
1022 | #define SPQ_SCAN_PRUNE_COPY_QUEUE 0x00000020
|
---|
1023 | #define SPQ_SCAN_USE_CALLBACK_SIGNERINFO 0x00000040
|
---|
1024 | #define SPQ_SCAN_PRUNE_DELREN 0x00000080
|
---|
1025 |
|
---|
1026 | #define SPQ_DELAYED_COPY 0x00000001
|
---|
1027 |
|
---|
1028 | #define SPQ_FLAG_BACKUP_AWARE 0x00000001
|
---|
1029 | #define SPQ_FLAG_ABORT_IF_UNSIGNED 0x00000002
|
---|
1030 | #define SPQ_FLAG_FILES_MODIFIED 0x00000004
|
---|
1031 | #define SPQ_FLAG_VALID 0x00000007
|
---|
1032 |
|
---|
1033 | #define FLG_ADDREG_DELREG_BIT 0x00008000
|
---|
1034 | #define FLG_ADDREG_BINVALUETYPE 0x00000001
|
---|
1035 | #define FLG_ADDREG_NOCLOBBER 0x00000002
|
---|
1036 | #define FLG_ADDREG_DELVAL 0x00000004
|
---|
1037 | #define FLG_ADDREG_APPEND 0x00000008
|
---|
1038 | #define FLG_ADDREG_KEYONLY 0x00000010
|
---|
1039 | #define FLG_ADDREG_OVERWRITEONLY 0x00000020
|
---|
1040 | #define FLG_ADDREG_64BITKEY 0x00001000
|
---|
1041 | #define FLG_ADDREG_KEYONLY_COMMON 0x00002000
|
---|
1042 | #define FLG_ADDREG_32BITKEY 0x00004000
|
---|
1043 | #define FLG_ADDREG_TYPE_SZ 0x00000000
|
---|
1044 | #define FLG_ADDREG_TYPE_MULTI_SZ 0x00010000
|
---|
1045 | #define FLG_ADDREG_TYPE_EXPAND_SZ 0x00020000
|
---|
1046 | #define FLG_ADDREG_TYPE_BINARY (0x00000000 | FLG_ADDREG_BINVALUETYPE)
|
---|
1047 | #define FLG_ADDREG_TYPE_DWORD (0x00010000 | FLG_ADDREG_BINVALUETYPE)
|
---|
1048 | #define FLG_ADDREG_TYPE_NONE (0x00020000 | FLG_ADDREG_BINVALUETYPE)
|
---|
1049 | #define FLG_ADDREG_TYPE_MASK (0xFFFF0000 | FLG_ADDREG_BINVALUETYPE)
|
---|
1050 |
|
---|
1051 | #define FLG_DELREG_VALUE (0x00000000)
|
---|
1052 | #define FLG_DELREG_TYPE_MASK FLG_ADDREG_TYPE_MASK
|
---|
1053 | #define FLG_DELREG_TYPE_SZ FLG_ADDREG_TYPE_SZ
|
---|
1054 | #define FLG_DELREG_TYPE_MULTI_SZ FLG_ADDREG_TYPE_MULTI_SZ
|
---|
1055 | #define FLG_DELREG_TYPE_EXPAND_SZ FLG_ADDREG_TYPE_EXPAND_SZ
|
---|
1056 | #define FLG_DELREG_TYPE_BINARY FLG_ADDREG_TYPE_BINARY
|
---|
1057 | #define FLG_DELREG_TYPE_DWORD FLG_ADDREG_TYPE_DWORD
|
---|
1058 | #define FLG_DELREG_TYPE_NONE FLG_ADDREG_TYPE_NONE
|
---|
1059 | #define FLG_DELREG_64BITKEY FLG_ADDREG_64BITKEY
|
---|
1060 | #define FLG_DELREG_KEYONLY_COMMON FLG_ADDREG_KEYONLY_COMMON
|
---|
1061 | #define FLG_DELREG_32BITKEY FLG_ADDREG_32BITKEY
|
---|
1062 | #define FLG_DELREG_OPERATION_MASK (0x000000FE)
|
---|
1063 | #define FLG_DELREG_MULTI_SZ_DELSTRING (FLG_DELREG_TYPE_MULTI_SZ | FLG_ADDREG_DELREG_BIT | 0x00000002)
|
---|
1064 |
|
---|
1065 | #define FLG_REGSVR_DLLREGISTER 0x00000001
|
---|
1066 | #define FLG_REGSVR_DLLINSTALL 0x00000002
|
---|
1067 |
|
---|
1068 | #define FLG_PROFITEM_CURRENTUSER 0x00000001
|
---|
1069 | #define FLG_PROFITEM_DELETE 0x00000002
|
---|
1070 | #define FLG_PROFITEM_GROUP 0x00000004
|
---|
1071 | #define FLG_PROFITEM_CSIDL 0x00000008
|
---|
1072 |
|
---|
1073 | #define DI_NOVCP 0x00000008
|
---|
1074 |
|
---|
1075 | /* Class installer function codes */
|
---|
1076 | #define DIF_SELECTDEVICE 0x01
|
---|
1077 | #define DIF_INSTALLDEVICE 0x02
|
---|
1078 | #define DIF_ASSIGNRESOURCES 0x03
|
---|
1079 | #define DIF_PROPERTIES 0x04
|
---|
1080 | #define DIF_REMOVE 0x05
|
---|
1081 | #define DIF_FIRSTTIMESETUP 0x06
|
---|
1082 | #define DIF_FOUNDDEVICE 0x07
|
---|
1083 | #define DIF_SELECTCLASSDRIVERS 0x08
|
---|
1084 | #define DIF_VALIDATECLASSDRIVERS 0x09
|
---|
1085 | #define DIF_INSTALLCLASSDRIVERS 0x0a
|
---|
1086 | #define DIF_CALCDISKSPACE 0x0b
|
---|
1087 | #define DIF_DESTROYPRIVATEDATA 0x0c
|
---|
1088 | #define DIF_VALIDATEDRIVER 0x0d
|
---|
1089 | #define DIF_MOVEDEVICE 0x0e
|
---|
1090 | #define DIF_DETECT 0x0f
|
---|
1091 | #define DIF_INSTALLWIZARD 0x10
|
---|
1092 | #define DIF_DESTROYWIZARDDATA 0x11
|
---|
1093 | #define DIF_PROPERTYCHANGE 0x12
|
---|
1094 | #define DIF_ENABLECLASS 0x13
|
---|
1095 | #define DIF_DETECTVERIFY 0x14
|
---|
1096 | #define DIF_INSTALLDEVICEFILES 0x15
|
---|
1097 | #define DIF_UNREMOVE 0x16
|
---|
1098 | #define DIF_SELECTBESTCOMPATDRV 0x17
|
---|
1099 | #define DIF_ALLOW_INSTALL 0x18
|
---|
1100 | #define DIF_REGISTERDEVICE 0x19
|
---|
1101 | #define DIF_NEWDEVICEWIZARD_PRESELECT 0x1a
|
---|
1102 | #define DIF_NEWDEVICEWIZARD_SELECT 0x1b
|
---|
1103 | #define DIF_NEWDEVICEWIZARD_PREANALYZE 0x1c
|
---|
1104 | #define DIF_NEWDEVICEWIZARD_POSTANALYZE 0x1d
|
---|
1105 | #define DIF_NEWDEVICEWIZARD_FINISHINSTALL 0x1e
|
---|
1106 | #define DIF_UNUSED1 0x1f
|
---|
1107 | #define DIF_INSTALLINTERFACES 0x20
|
---|
1108 | #define DIF_DETECTCANCEL 0x21
|
---|
1109 | #define DIF_REGISTER_COINSTALLERS 0x22
|
---|
1110 | #define DIF_ADDPROPERTYPAGE_ADVANCED 0x23
|
---|
1111 | #define DIF_ADDPROPERTYPAGE_BASIC 0x24
|
---|
1112 | #define DIF_RESERVED1 0x25
|
---|
1113 | #define DIF_TROUBLESHOOTER 0x26
|
---|
1114 | #define DIF_POWERMESSAGEWAKE 0x27
|
---|
1115 | #define DIF_ADDREMOTEPROPERTYPAGE_ADVANCED 0x28
|
---|
1116 | #define DIF_UPDATEDRIVER_UI 0x29
|
---|
1117 | #define DIF_RESERVED2 0x30
|
---|
1118 |
|
---|
1119 | /* Directory ids */
|
---|
1120 | #define DIRID_ABSOLUTE (-1)
|
---|
1121 | #define DIRID_ABSOLUTE_16BIT 0xffff
|
---|
1122 | #define DIRID_NULL 0
|
---|
1123 | #define DIRID_SRCPATH 1
|
---|
1124 | #define DIRID_WINDOWS 10
|
---|
1125 | #define DIRID_SYSTEM 11
|
---|
1126 | #define DIRID_DRIVERS 12
|
---|
1127 | #define DIRID_IOSUBSYS DIRID_DRIVERS
|
---|
1128 | #define DIRID_INF 17
|
---|
1129 | #define DIRID_HELP 18
|
---|
1130 | #define DIRID_FONTS 20
|
---|
1131 | #define DIRID_VIEWERS 21
|
---|
1132 | #define DIRID_COLOR 23
|
---|
1133 | #define DIRID_APPS 24
|
---|
1134 | #define DIRID_SHARED 25
|
---|
1135 | #define DIRID_BOOT 30
|
---|
1136 | #define DIRID_SYSTEM16 50
|
---|
1137 | #define DIRID_SPOOL 51
|
---|
1138 | #define DIRID_SPOOLDRIVERS 52
|
---|
1139 | #define DIRID_USERPROFILE 53
|
---|
1140 | #define DIRID_LOADER 54
|
---|
1141 | #define DIRID_PRINTPROCESSOR 55
|
---|
1142 | #define DIRID_DEFAULT DIRID_SYSTEM
|
---|
1143 |
|
---|
1144 | #define DIRID_COMMON_STARTMENU 16406
|
---|
1145 | #define DIRID_COMMON_PROGRAMS 16407
|
---|
1146 | #define DIRID_COMMON_STARTUP 16408
|
---|
1147 | #define DIRID_COMMON_DESKTOPDIRECTORY 16409
|
---|
1148 | #define DIRID_COMMON_FAVORITES 16415
|
---|
1149 | #define DIRID_COMMON_APPDATA 16419
|
---|
1150 | #define DIRID_PROGRAM_FILES 16422
|
---|
1151 | #define DIRID_SYSTEM_X86 16425
|
---|
1152 | #define DIRID_PROGRAM_FILES_X86 16426
|
---|
1153 | #define DIRID_PROGRAM_FILES_COMMON 16427
|
---|
1154 | #define DIRID_PROGRAM_FILES_COMMONX86 16428
|
---|
1155 | #define DIRID_COMMON_TEMPLATES 16429
|
---|
1156 | #define DIRID_COMMON_DOCUMENTS 16430
|
---|
1157 |
|
---|
1158 | #define DIRID_USER 0x8000
|
---|
1159 |
|
---|
1160 |
|
---|
1161 | /* Error code */
|
---|
1162 |
|
---|
1163 | #define ERROR_EXPECTED_SECTION_NAME (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0)
|
---|
1164 | #define ERROR_BAD_SECTION_NAME_LINE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|1)
|
---|
1165 | #define ERROR_SECTION_NAME_TOO_LONG (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|2)
|
---|
1166 | #define ERROR_GENERAL_SYNTAX (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|3)
|
---|
1167 | #define ERROR_WRONG_INF_STYLE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x100)
|
---|
1168 | #define ERROR_SECTION_NOT_FOUND (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x101)
|
---|
1169 | #define ERROR_LINE_NOT_FOUND (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x102)
|
---|
1170 | #define ERROR_NO_BACKUP (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x103)
|
---|
1171 | #define ERROR_NO_ASSOCIATED_CLASS (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x200)
|
---|
1172 | #define ERROR_CLASS_MISMATCH (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x201)
|
---|
1173 | #define ERROR_DUPLICATE_FOUND (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x202)
|
---|
1174 | #define ERROR_NO_DRIVER_SELECTED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x203)
|
---|
1175 | #define ERROR_KEY_DOES_NOT_EXIST (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x204)
|
---|
1176 | #define ERROR_INVALID_DEVINST_NAME (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x205)
|
---|
1177 | #define ERROR_INVALID_CLASS (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x206)
|
---|
1178 | #define ERROR_DEVINST_ALREADY_EXISTS (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x207)
|
---|
1179 | #define ERROR_DEVINFO_NOT_REGISTERED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x208)
|
---|
1180 | #define ERROR_INVALID_REG_PROPERTY (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x209)
|
---|
1181 | #define ERROR_NO_INF (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20A)
|
---|
1182 | #define ERROR_NO_SUCH_DEVINST (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20B)
|
---|
1183 | #define ERROR_CANT_LOAD_CLASS_ICON (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20C)
|
---|
1184 | #define ERROR_INVALID_CLASS_INSTALLER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20D)
|
---|
1185 | #define ERROR_DI_DO_DEFAULT (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20E)
|
---|
1186 | #define ERROR_DI_NOFILECOPY (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20F)
|
---|
1187 | #define ERROR_INVALID_HWPROFILE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x210)
|
---|
1188 | #define ERROR_NO_DEVICE_SELECTED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x211)
|
---|
1189 | #define ERROR_DEVINFO_LIST_LOCKED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x212)
|
---|
1190 | #define ERROR_DEVINFO_DATA_LOCKED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x213)
|
---|
1191 | #define ERROR_DI_BAD_PATH (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x214)
|
---|
1192 | #define ERROR_NO_CLASSINSTALL_PARAMS (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x215)
|
---|
1193 | #define ERROR_FILEQUEUE_LOCKED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x216)
|
---|
1194 | #define ERROR_BAD_SERVICE_INSTALLSECT (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x217)
|
---|
1195 | #define ERROR_NO_CLASS_DRIVER_LIST (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x218)
|
---|
1196 | #define ERROR_NO_ASSOCIATED_SERVICE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x219)
|
---|
1197 | #define ERROR_NO_DEFAULT_DEVICE_INTERFACE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21A)
|
---|
1198 | #define ERROR_DEVICE_INTERFACE_ACTIVE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21B)
|
---|
1199 | #define ERROR_DEVICE_INTERFACE_REMOVED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21C)
|
---|
1200 | #define ERROR_BAD_INTERFACE_INSTALLSECT (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21D)
|
---|
1201 | #define ERROR_NO_SUCH_INTERFACE_CLASS (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21E)
|
---|
1202 | #define ERROR_INVALID_REFERENCE_STRING (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21F)
|
---|
1203 | #define ERROR_INVALID_MACHINENAME (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x220)
|
---|
1204 | #define ERROR_REMOTE_COMM_FAILURE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x221)
|
---|
1205 | #define ERROR_MACHINE_UNAVAILABLE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x222)
|
---|
1206 | #define ERROR_NO_CONFIGMGR_SERVICES (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x223)
|
---|
1207 | #define ERROR_INVALID_PROPPAGE_PROVIDER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x224)
|
---|
1208 | #define ERROR_NO_SUCH_DEVICE_INTERFACE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x225)
|
---|
1209 | #define ERROR_DI_POSTPROCESSING_REQUIRED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x226)
|
---|
1210 | #define ERROR_INVALID_COINSTALLER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x227)
|
---|
1211 | #define ERROR_NO_COMPAT_DRIVERS (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x228)
|
---|
1212 | #define ERROR_NO_DEVICE_ICON (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x229)
|
---|
1213 | #define ERROR_INVALID_INF_LOGCONFIG (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22A)
|
---|
1214 | #define ERROR_DI_DONT_INSTALL (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22B)
|
---|
1215 | #define ERROR_INVALID_FILTER_DRIVER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22C)
|
---|
1216 | #define ERROR_NON_WINDOWS_NT_DRIVER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22D)
|
---|
1217 | #define ERROR_NON_WINDOWS_DRIVER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22E)
|
---|
1218 | #define ERROR_NO_CATALOG_FOR_OEM_INF (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22F)
|
---|
1219 | #define ERROR_DEVINSTALL_QUEUE_NONNATIVE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x230)
|
---|
1220 | #define ERROR_NOT_DISABLEABLE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x231)
|
---|
1221 | #define ERROR_CANT_REMOVE_DEVINST (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x232)
|
---|
1222 | #define ERROR_INVALID_TARGET (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x233)
|
---|
1223 | #define ERROR_DRIVER_NONNATIVE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x234)
|
---|
1224 | #define ERROR_IN_WOW64 (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x235)
|
---|
1225 | #define ERROR_SET_SYSTEM_RESTORE_POINT (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x236)
|
---|
1226 | #define ERROR_INCORRECTLY_COPIED_INF (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x237)
|
---|
1227 | #define ERROR_SCE_DISABLED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x238)
|
---|
1228 | #define ERROR_WRONG_INF_TYPE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x24A)
|
---|
1229 | #define ERROR_NO_DEFAULT_INTERFACE_DEVICE ERROR_NO_DEFAULT_DEVICE_INTERFACE
|
---|
1230 | #define ERROR_INTERFACE_DEVICE_ACTIVE ERROR_DEVICE_INTERFACE_ACTIVE
|
---|
1231 | #define ERROR_INTERFACE_DEVICE_REMOVED ERROR_DEVICE_INTERFACE_REMOVED
|
---|
1232 | #define ERROR_NO_SUCH_INTERFACE_DEVICE ERROR_NO_SUCH_DEVICE_INTERFACE
|
---|
1233 | #define ERROR_NOT_INSTALLED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x1000)
|
---|
1234 |
|
---|
1235 | /* flags for SetupDiGetClassDevs */
|
---|
1236 | #define DIGCF_DEFAULT 0x00000001
|
---|
1237 | #define DIGCF_PRESENT 0x00000002
|
---|
1238 | #define DIGCF_ALLCLASSES 0x00000004
|
---|
1239 | #define DIGCF_PROFILE 0x00000008
|
---|
1240 | #define DIGCF_DEVICEINTERFACE 0x00000010
|
---|
1241 |
|
---|
1242 | /* Flags for SetupDiOpenClassRegKeyEx */
|
---|
1243 | #define DIOCR_INSTALLER 0x00000001
|
---|
1244 | #define DIOCR_INTERFACE 0x00000002
|
---|
1245 |
|
---|
1246 | /* Flags for SetupDiBuildClassInfoList(Ex) */
|
---|
1247 | #define DIBCI_NOINSTALLCLASS 0x00000001
|
---|
1248 | #define DIBCI_NODISPLAYCLASS 0x00000002
|
---|
1249 |
|
---|
1250 | /* Flags for SetupDiCreateDeviceInfo */
|
---|
1251 | #define DICD_GENERATE_ID 0x00000001
|
---|
1252 | #define DICD_INHERIT_CLASSDRVS 0x00000002
|
---|
1253 |
|
---|
1254 | /* Flags for SetupDiOpenDeviceInfo */
|
---|
1255 | #define DIOD_INHERIT_CLASSDRVS 0x00000002
|
---|
1256 | #define DIOD_CANCEL_REMOVE 0x00000004
|
---|
1257 |
|
---|
1258 | /* Flags for SetupDiOpenDeviceInterface */
|
---|
1259 | #define DIODI_NO_ADD 0x00000001
|
---|
1260 |
|
---|
1261 | /* Flags for SetupDiRegisterDeviceInfo */
|
---|
1262 | #define SPRDI_FIND_DUPS 0x00000001
|
---|
1263 |
|
---|
1264 | /* Values for SetupDi*Info* DriverType */
|
---|
1265 | #define SPDIT_NODRIVER 0x00000000
|
---|
1266 | #define SPDIT_CLASSDRIVER 0x00000001
|
---|
1267 | #define SPDIT_COMPATDRIVER 0x00000002
|
---|
1268 |
|
---|
1269 | /* setup device registry property codes */
|
---|
1270 | #define SPDRP_DEVICEDESC 0x00000000
|
---|
1271 | #define SPDRP_HARDWAREID 0x00000001
|
---|
1272 | #define SPDRP_COMPATIBLEIDS 0x00000002
|
---|
1273 | #define SPDRP_UNUSED0 0x00000003
|
---|
1274 | #define SPDRP_SERVICE 0x00000004
|
---|
1275 | #define SPDRP_UNUSED1 0x00000005
|
---|
1276 | #define SPDRP_UNUSED2 0x00000006
|
---|
1277 | #define SPDRP_CLASS 0x00000007
|
---|
1278 | #define SPDRP_CLASSGUID 0x00000008
|
---|
1279 | #define SPDRP_DRIVER 0x00000009
|
---|
1280 | #define SPDRP_CONFIGFLAGS 0x0000000a
|
---|
1281 | #define SPDRP_MFG 0x0000000b
|
---|
1282 | #define SPDRP_FRIENDLYNAME 0x0000000c
|
---|
1283 | #define SPDRP_LOCATION_INFORMATION 0x0000000d
|
---|
1284 | #define SPDRP_PHYSICAL_DEVICE_OBJECT_NAME 0x0000000e
|
---|
1285 | #define SPDRP_CAPABILITIES 0x0000000f
|
---|
1286 | #define SPDRP_UI_NUMBER 0x00000010
|
---|
1287 | #define SPDRP_UPPERFILTERS 0x00000011
|
---|
1288 | #define SPDRP_LOWERFILTERS 0x00000012
|
---|
1289 | #define SPDRP_BUSTYPEGUID 0x00000013
|
---|
1290 | #define SPDRP_LEGACYBUSTYPE 0x00000014
|
---|
1291 | #define SPDRP_BUSNUMBER 0x00000015
|
---|
1292 | #define SPDRP_ENUMERATOR_NAME 0x00000016
|
---|
1293 | #define SPDRP_SECURITY 0x00000017
|
---|
1294 | #define SPDRP_SECURITY_SDS 0x00000018
|
---|
1295 | #define SPDRP_DEVTYPE 0x00000019
|
---|
1296 | #define SPDRP_EXCLUSIVE 0x0000001a
|
---|
1297 | #define SPDRP_CHARACTERISTICS 0x0000001b
|
---|
1298 | #define SPDRP_ADDRESS 0x0000001c
|
---|
1299 | #define SPDRP_UI_NUMBER_DESC_FORMAT 0x0000001d
|
---|
1300 | #define SPDRP_DEVICE_POWER_DATA 0x0000001e
|
---|
1301 | #define SPDRP_REMOVAL_POLICY 0x0000001f
|
---|
1302 | #define SPDRP_REMOVAL_POLICY_HW_DEFAULT 0x00000020
|
---|
1303 | #define SPDRP_REMOVAL_POLICY_OVERRIDE 0x00000021
|
---|
1304 | #define SPDRP_INSTALL_STATE 0x00000022
|
---|
1305 | #define SPDRP_MAXIMUM_PROPERTY 0x00000023
|
---|
1306 |
|
---|
1307 | #define DPROMPT_SUCCESS 0
|
---|
1308 | #define DPROMPT_CANCEL 1
|
---|
1309 | #define DPROMPT_SKIPFILE 2
|
---|
1310 | #define DPROMPT_BUFFERTOOSMALL 3
|
---|
1311 | #define DPROMPT_OUTOFMEMORY 4
|
---|
1312 |
|
---|
1313 | #define SETDIRID_NOT_FULL_PATH 0x00000001
|
---|
1314 |
|
---|
1315 | #define IDF_NOBROWSE 0x00000001
|
---|
1316 | #define IDF_NOSKIP 0x00000002
|
---|
1317 | #define IDF_NODETAILS 0x00000004
|
---|
1318 | #define IDF_NOCOMPRESSED 0x00000008
|
---|
1319 | #define IDF_CHECKFIRST 0x00000100
|
---|
1320 | #define IDF_NOBEEP 0x00000200
|
---|
1321 | #define IDF_NOFOREGROUND 0x00000400
|
---|
1322 | #define IDF_WARNIFSKIP 0x00000800
|
---|
1323 |
|
---|
1324 | #define IDF_NOREMOVABLEMEDIAPROMPT 0x00001000
|
---|
1325 | #define IDF_USEDISKNAMEASPROMPT 0x00002000
|
---|
1326 | #define IDF_OEMDISK 0x80000000
|
---|
1327 |
|
---|
1328 | #define INFINFO_INF_SPEC_IS_HINF 1
|
---|
1329 | #define INFINFO_INF_NAME_IS_ABSOLUTE 2
|
---|
1330 | #define INFINFO_DEFAULT_SEARCH 3
|
---|
1331 | #define INFINFO_REVERSE_DEFAULT_SEARCH 4
|
---|
1332 | #define INFINFO_INF_PATH_LIST_SEARCH 5
|
---|
1333 |
|
---|
1334 | #define LogSeverity DWORD
|
---|
1335 | #define LogSevInformation 0x00000000
|
---|
1336 | #define LogSevWarning 0x00000001
|
---|
1337 | #define LogSevError 0x00000002
|
---|
1338 | #define LogSevFatalError 0x00000003
|
---|
1339 | #define LogSevMaximum 0x00000004
|
---|
1340 |
|
---|
1341 | #define SRCINFO_PATH 1
|
---|
1342 | #define SRCINFO_TAGFILE 2
|
---|
1343 | #define SRCINFO_DESCRIPTION 3
|
---|
1344 | #define SRCINFO_FLAGS 4
|
---|
1345 | #define SRCINFO_TAGFILE2 5
|
---|
1346 |
|
---|
1347 | #define SRC_FLAGS_CABFILE (0x0010)
|
---|
1348 |
|
---|
1349 | #define FILE_COMPRESSION_NONE 0
|
---|
1350 | #define FILE_COMPRESSION_WINLZA 1
|
---|
1351 | #define FILE_COMPRESSION_MSZIP 2
|
---|
1352 | #define FILE_COMPRESSION_NTCAB 3
|
---|
1353 |
|
---|
1354 | #define SPDSL_IGNORE_DISK 0x00000001
|
---|
1355 | #define SPDSL_DISALLOW_NEGATIVE_ADJUST 0x00000002
|
---|
1356 |
|
---|
1357 | /* SetupInitializeFileLog Flags values */
|
---|
1358 | #define SPFILELOG_SYSTEMLOG 0x00000001
|
---|
1359 | #define SPFILELOG_FORCENEW 0x00000002
|
---|
1360 | #define SPFILELOG_QUERYONLY 0x00000004
|
---|
1361 |
|
---|
1362 | /* SetupLogFile Flags values */
|
---|
1363 | #define SPFILELOG_OEMFILE 0x00000001
|
---|
1364 |
|
---|
1365 | /* SetupDiCreateDevRegKey, SetupDiOpenDevRegKey, and SetupDiDeleteDevRegKey
|
---|
1366 | * KeyType values
|
---|
1367 | */
|
---|
1368 | #define DIREG_DEV 0x00000001
|
---|
1369 | #define DIREG_DRV 0x00000002
|
---|
1370 | #define DIREG_BOTH 0x00000004
|
---|
1371 |
|
---|
1372 | /* SetupDiDrawMiniIcon Flags values */
|
---|
1373 | #define DMI_MASK 0x00000001
|
---|
1374 | #define DMI_BKCOLOR 0x00000002
|
---|
1375 | #define DMI_USERECT 0x00000004
|
---|
1376 |
|
---|
1377 | /* SetupDiGetClassDevPropertySheets PropertySheetType values */
|
---|
1378 | #define DIGCDP_FLAG_BASIC 0x00000001
|
---|
1379 | #define DIGCDP_FLAG_ADVANCED 0x00000002
|
---|
1380 | #define DIGCDP_FLAG_REMOTE_BASIC 0x00000003
|
---|
1381 | #define DIGCDP_FLAG_REMOTE_ADVANCED 0x00000004
|
---|
1382 |
|
---|
1383 | typedef enum {
|
---|
1384 | SetupFileLogSourceFilename,
|
---|
1385 | SetupFileLogChecksum,
|
---|
1386 | SetupFileLogDiskTagfile,
|
---|
1387 | SetupFileLogDiskDescription,
|
---|
1388 | SetupFileLogOtherInfo,
|
---|
1389 | SetupFileLogMax
|
---|
1390 | } SetupFileLogInfo;
|
---|
1391 |
|
---|
1392 | /* SetupDiGetWizardPage PageType values */
|
---|
1393 | #define SPWPT_SELECTDEVICE 0x00000001
|
---|
1394 | /* SetupDiGetWizardPage Flags values */
|
---|
1395 | #define SPWP_USE_DEVINFO_DATA 0x00000001
|
---|
1396 |
|
---|
1397 | /* SetupDiGetCustomDeviceProperty Flags values */
|
---|
1398 | #define DICUSTOMDEVPROP_MERGE_MULTISZ 0x00000001
|
---|
1399 |
|
---|
1400 | /* SetupConfigureWmiFromInfSection Flags values */
|
---|
1401 | #define SCWMI_CLOBBER_SECURITY 0x00000001
|
---|
1402 |
|
---|
1403 | LONG WINAPI AddTagToGroupOrderList(PCWSTR lpGroupName, DWORD dwUnknown2, DWORD dwUnknown3);
|
---|
1404 | DWORD WINAPI CaptureAndConvertAnsiArg(PCSTR lpSrc, PWSTR *lpDst);
|
---|
1405 | DWORD WINAPI CaptureStringArg(PCWSTR lpSrc, PWSTR *lpDst);
|
---|
1406 | BOOL WINAPI DelayedMove(PCWSTR lpExistingFileName, PCWSTR lpNewFileName);
|
---|
1407 | BOOL WINAPI DoesUserHavePrivilege(PCWSTR lpPrivilegeName);
|
---|
1408 | PWSTR WINAPI DuplicateString(PCWSTR lpSrc);
|
---|
1409 | BOOL WINAPI EnablePrivilege(PCWSTR lpPrivilegeName, BOOL bEnable);
|
---|
1410 | BOOL WINAPI FileExists(PCWSTR lpFileName, PWIN32_FIND_DATAW lpFileFindData);
|
---|
1411 | void WINAPI InstallHinfSectionA( HWND hwnd, HINSTANCE handle, PCSTR cmdline, INT show );
|
---|
1412 | void WINAPI InstallHinfSectionW( HWND hwnd, HINSTANCE handle, PCWSTR cmdline, INT show );
|
---|
1413 | #define InstallHinfSection WINELIB_NAME_AW(InstallHinfSection)
|
---|
1414 | BOOL WINAPI IsUserAdmin(VOID);
|
---|
1415 | PWSTR WINAPI MultiByteToUnicode(PCSTR lpMultiByteStr, UINT uCodePage);
|
---|
1416 | VOID WINAPI MyFree(PVOID lpMem);
|
---|
1417 | PVOID WINAPI MyMalloc(DWORD dwSize);
|
---|
1418 | PVOID WINAPI MyRealloc(PVOID lpSrc, DWORD dwSize);
|
---|
1419 | DWORD WINAPI OpenAndMapForRead(PCWSTR, PDWORD, PHANDLE, PHANDLE, PVOID *);
|
---|
1420 | LONG WINAPI QueryRegistryValue(HKEY, PCWSTR, PBYTE *, PDWORD, PDWORD);
|
---|
1421 | /* RetreiveFileSecurity is not a typo, as per Microsoft's dlls */
|
---|
1422 | DWORD WINAPI RetreiveFileSecurity(PCWSTR, PSECURITY_DESCRIPTOR *);
|
---|
1423 | BOOL WINAPI SetupAddSectionToDiskSpaceListA(HDSKSPC, HINF, HINF, PCSTR, UINT, PVOID, UINT);
|
---|
1424 | BOOL WINAPI SetupAddSectionToDiskSpaceListW(HDSKSPC, HINF, HINF, PCWSTR, UINT, PVOID, UINT);
|
---|
1425 | #define SetupAddSectionToDiskSpaceList WINELIB_NAME_AW(SetupAddSectionToDiskSpaceList)
|
---|
1426 | BOOL WINAPI SetupAddToDiskSpaceListA(HDSKSPC, PCSTR, LONGLONG, UINT, PVOID, UINT);
|
---|
1427 | BOOL WINAPI SetupAddToDiskSpaceListW(HDSKSPC, PCWSTR, LONGLONG, UINT, PVOID, UINT);
|
---|
1428 | #define SetupAddToDiskSpaceList WINELIB_NAME_AW(SetupAddToDiskSpaceList)
|
---|
1429 | BOOL WINAPI SetupAddToSourceListA(DWORD, PCSTR);
|
---|
1430 | BOOL WINAPI SetupAddToSourceListW(DWORD, PCWSTR);
|
---|
1431 | #define SetupAddToSourceList WINELIB_NAME_AW(SetupAddToSourceList)
|
---|
1432 | BOOL WINAPI SetupAdjustDiskSpaceListA(HDSKSPC, LPCSTR, LONGLONG, PVOID, UINT);
|
---|
1433 | BOOL WINAPI SetupAdjustDiskSpaceListW(HDSKSPC, LPCWSTR, LONGLONG, PVOID, UINT);
|
---|
1434 | #define SetupAdjustDiskSpaceList WINELIB_NAME_AW(SetupAdjustDiskSpaceList)
|
---|
1435 | BOOL WINAPI SetupCancelTemporarySourceList(void);
|
---|
1436 | BOOL WINAPI SetupConfigureWmiFromInfSectionA(HINF, PCSTR, DWORD);
|
---|
1437 | BOOL WINAPI SetupConfigureWmiFromInfSectionW(HINF, PCWSTR, DWORD);
|
---|
1438 | #define SetupConfigureWmiFromInfSection WINELIB_NAME_AW(SetupConfigureWmiFromInfSection)
|
---|
1439 | UINT WINAPI SetupBackupErrorA(HWND, PCSTR, PCSTR, PCSTR, UINT, DWORD);
|
---|
1440 | UINT WINAPI SetupBackupErrorW(HWND, PCWSTR, PCWSTR, PCWSTR, UINT, DWORD);
|
---|
1441 | #define SetupBackupError WINELIB_NAME_AW(SetupBackupError)
|
---|
1442 | BOOL WINAPI SetupCloseFileQueue( HSPFILEQ );
|
---|
1443 | void WINAPI SetupCloseInfFile( HINF hinf );
|
---|
1444 | void WINAPI SetupCloseLog(void);
|
---|
1445 | BOOL WINAPI SetupCommitFileQueueA( HWND, HSPFILEQ, PSP_FILE_CALLBACK_A, PVOID );
|
---|
1446 | BOOL WINAPI SetupCommitFileQueueW( HWND, HSPFILEQ, PSP_FILE_CALLBACK_W, PVOID );
|
---|
1447 | #define SetupCommitFileQueue WINELIB_NAME_AW(SetupCommitFileQueue)
|
---|
1448 | UINT WINAPI SetupCopyErrorA( HWND, PCSTR, PCSTR, PCSTR, PCSTR, PCSTR, UINT, DWORD, PSTR, DWORD, PDWORD );
|
---|
1449 | UINT WINAPI SetupCopyErrorW( HWND, PCWSTR, PCWSTR, PCWSTR, PCWSTR, PCWSTR, UINT, DWORD, PWSTR, DWORD, PDWORD );
|
---|
1450 | #define SetupCopyError WINELIB_NAME_AW(SetupCopyError)
|
---|
1451 | BOOL WINAPI SetupCopyOEMInfA( PCSTR, PCSTR, DWORD, DWORD, PSTR, DWORD, PDWORD, PSTR * );
|
---|
1452 | BOOL WINAPI SetupCopyOEMInfW( PCWSTR, PCWSTR, DWORD, DWORD, PWSTR, DWORD, PDWORD, PWSTR * );
|
---|
1453 | #define SetupCopyOEMInf WINELIB_NAME_AW(SetupCopyOEMInf)
|
---|
1454 | HDSKSPC WINAPI SetupCreateDiskSpaceListA(PVOID, DWORD, UINT);
|
---|
1455 | HDSKSPC WINAPI SetupCreateDiskSpaceListW(PVOID, DWORD, UINT);
|
---|
1456 | #define SetupCreateDiskSpaceList WINELIB_NAME_AW(SetupCreateDiskSpaceList)
|
---|
1457 | DWORD WINAPI SetupDecompressOrCopyFileA( PCSTR, PCSTR, PUINT );
|
---|
1458 | DWORD WINAPI SetupDecompressOrCopyFileW( PCWSTR, PCWSTR, PUINT );
|
---|
1459 | #define SetupDecompressOrCopyFile WINELIB_NAME_AW(SetupDecompressOrCopyFile)
|
---|
1460 | UINT WINAPI SetupDefaultQueueCallbackA( PVOID, UINT, UINT_PTR, UINT_PTR );
|
---|
1461 | UINT WINAPI SetupDefaultQueueCallbackW( PVOID, UINT, UINT_PTR, UINT_PTR );
|
---|
1462 | #define SetupDefaultQueueCallback WINELIB_NAME_AW(SetupDefaultQueueCallback)
|
---|
1463 | UINT WINAPI SetupDeleteErrorA( HWND, PCSTR, PCSTR, UINT, DWORD );
|
---|
1464 | UINT WINAPI SetupDeleteErrorW( HWND, PCWSTR, PCWSTR, UINT, DWORD );
|
---|
1465 | #define SetupDeleteError WINELIB_NAME_AW(SetupDeleteError)
|
---|
1466 | BOOL WINAPI SetupDestroyDiskSpaceList(HDSKSPC);
|
---|
1467 | BOOL WINAPI SetupDiAskForOEMDisk(HDEVINFO, PSP_DEVINFO_DATA);
|
---|
1468 | BOOL WINAPI SetupDiBuildClassInfoList(DWORD, LPGUID, DWORD, PDWORD);
|
---|
1469 | BOOL WINAPI SetupDiBuildClassInfoListExA(DWORD, LPGUID, DWORD, PDWORD, PCSTR, PVOID);
|
---|
1470 | BOOL WINAPI SetupDiBuildClassInfoListExW(DWORD, LPGUID, DWORD, PDWORD, PCWSTR, PVOID);
|
---|
1471 | #define SetupDiBuildClassInfoListEx WINELIB_NAME_AW(SetupDiBuildClassInfoListEx)
|
---|
1472 | BOOL WINAPI SetupDiBuildDriverInfoList(HDEVINFO, PSP_DEVINFO_DATA, DWORD);
|
---|
1473 | BOOL WINAPI SetupDiCallClassInstaller(DI_FUNCTION, HDEVINFO, PSP_DEVINFO_DATA);
|
---|
1474 | BOOL WINAPI SetupDiCancelDriverInfoSearch(HDEVINFO);
|
---|
1475 | BOOL WINAPI SetupDiChangeState(HDEVINFO, PSP_DEVINFO_DATA);
|
---|
1476 | BOOL WINAPI SetupDiClassGuidsFromNameA(LPCSTR, LPGUID, DWORD, PDWORD);
|
---|
1477 | BOOL WINAPI SetupDiClassGuidsFromNameW(LPCWSTR, LPGUID, DWORD, PDWORD);
|
---|
1478 | #define SetupDiClassGuidsFromName WINELIB_NAME_AW(SetupDiClassGuidsFromName)
|
---|
1479 | BOOL WINAPI SetupDiClassGuidsFromNameExA(LPCSTR, LPGUID, DWORD, PDWORD, LPCSTR, PVOID);
|
---|
1480 | BOOL WINAPI SetupDiClassGuidsFromNameExW(LPCWSTR, LPGUID, DWORD, PDWORD, LPCWSTR, PVOID);
|
---|
1481 | #define SetupDiClassGuidsFromNameEx WINELIB_NAME_AW(SetupDiClassGuidsFromNameEx)
|
---|
1482 | BOOL WINAPI SetupDiClassNameFromGuidA(const GUID*, PSTR, DWORD, PDWORD);
|
---|
1483 | BOOL WINAPI SetupDiClassNameFromGuidW(const GUID*, PWSTR, DWORD, PDWORD);
|
---|
1484 | #define SetupDiClassNameFromGuid WINELIB_NAME_AW(SetupDiClassNameFromGuid)
|
---|
1485 | BOOL WINAPI SetupDiClassNameFromGuidExA(const GUID*, PSTR, DWORD, PDWORD, PCSTR, PVOID);
|
---|
1486 | BOOL WINAPI SetupDiClassNameFromGuidExW(const GUID*, PWSTR, DWORD, PDWORD, PCWSTR, PVOID);
|
---|
1487 | #define SetupDiClassNameFromGuidEx WINELIB_NAME_AW(SetupDiClassNameFromGuidEx)
|
---|
1488 | HDEVINFO WINAPI SetupDiCreateDeviceInfoList(const GUID *, HWND);
|
---|
1489 | HDEVINFO WINAPI SetupDiCreateDeviceInfoListExA(const GUID *, HWND, PCSTR, PVOID);
|
---|
1490 | HDEVINFO WINAPI SetupDiCreateDeviceInfoListExW(const GUID *, HWND, PCWSTR, PVOID);
|
---|
1491 | #define SetupDiCreateDeviceInfoListEx WINELIB_NAME_AW(SetupDiCreateDeviceInfoListEx)
|
---|
1492 | BOOL WINAPI SetupDiCreateDeviceInfoA(HDEVINFO, PCSTR, CONST GUID*, PCSTR, HWND, DWORD,PSP_DEVINFO_DATA);
|
---|
1493 | BOOL WINAPI SetupDiCreateDeviceInfoW(HDEVINFO, PCWSTR, CONST GUID*, PCWSTR, HWND, DWORD,PSP_DEVINFO_DATA);
|
---|
1494 | #define SetupDiCreateDeviceInfo WINELIB_NAME_AW(SetupDiCreateDeviceInfo)
|
---|
1495 | BOOL WINAPI SetupDiCreateDeviceInterfaceA(HDEVINFO, PSP_DEVINFO_DATA, const GUID *, PCSTR, DWORD, PSP_DEVICE_INTERFACE_DATA);
|
---|
1496 | BOOL WINAPI SetupDiCreateDeviceInterfaceW(HDEVINFO, PSP_DEVINFO_DATA, const GUID *, PCWSTR, DWORD, PSP_DEVICE_INTERFACE_DATA);
|
---|
1497 | #define SetupDiCreateDeviceInterface WINELIB_NAME_AW(SetupDiCreateDeviceInterface)
|
---|
1498 | HKEY WINAPI SetupDiCreateDeviceInterfaceRegKeyA(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, DWORD, REGSAM, HINF, PCSTR);
|
---|
1499 | HKEY WINAPI SetupDiCreateDeviceInterfaceRegKeyW(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, DWORD, REGSAM, HINF, PCWSTR);
|
---|
1500 | #define SetupDiCreateDeviceInterfaceRegKey WINELIB_NAME_AW(SetupDiCreateDeviceInterfaceRegKey)
|
---|
1501 | HKEY WINAPI SetupDiCreateDevRegKeyA(HDEVINFO, PSP_DEVINFO_DATA, DWORD, DWORD, DWORD, HINF, PCSTR);
|
---|
1502 | HKEY WINAPI SetupDiCreateDevRegKeyW(HDEVINFO, PSP_DEVINFO_DATA, DWORD, DWORD, DWORD, HINF, PCWSTR);
|
---|
1503 | #define SetupDiCreateDevRegKey WINELIB_NAME_AW(SetupDiCreateDevRegKey)
|
---|
1504 | BOOL WINAPI SetupDiDeleteDeviceInfo(HDEVINFO, PSP_DEVINFO_DATA);
|
---|
1505 | BOOL WINAPI SetupDiDeleteDeviceInterfaceData(HDEVINFO, PSP_DEVICE_INTERFACE_DATA);
|
---|
1506 | BOOL WINAPI SetupDiDeleteDeviceInterfaceRegKey(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, DWORD);
|
---|
1507 | BOOL WINAPI SetupDiDeleteDevRegKey(HDEVINFO, PSP_DEVINFO_DATA, DWORD, DWORD, DWORD);
|
---|
1508 | BOOL WINAPI SetupDiDestroyClassImageList(PSP_CLASSIMAGELIST_DATA);
|
---|
1509 | BOOL WINAPI SetupDiDestroyDeviceInfoList(HDEVINFO);
|
---|
1510 | BOOL WINAPI SetupDiDestroyDriverInfoList(HDEVINFO, PSP_DEVINFO_DATA, DWORD);
|
---|
1511 | INT WINAPI SetupDiDrawMiniIcon(HDC, RECT, INT, DWORD);
|
---|
1512 | BOOL WINAPI SetupDiEnumDeviceInfo(HDEVINFO, DWORD, PSP_DEVINFO_DATA);
|
---|
1513 | BOOL WINAPI SetupDiEnumDeviceInterfaces(HDEVINFO, PSP_DEVINFO_DATA, const GUID *, DWORD, PSP_DEVICE_INTERFACE_DATA);
|
---|
1514 | BOOL WINAPI SetupDiEnumDriverInfoA(HDEVINFO, PSP_DEVINFO_DATA, DWORD, DWORD, PSP_DRVINFO_DATA_A);
|
---|
1515 | BOOL WINAPI SetupDiEnumDriverInfoW(HDEVINFO, PSP_DEVINFO_DATA, DWORD, DWORD, PSP_DRVINFO_DATA_W);
|
---|
1516 | #define SetupDiEnumDriverInfo WINELIB_NAME_AW(SetupDiEnumDriverInfo)
|
---|
1517 | BOOL WINAPI SetupDiGetActualModelsSectionA(PINFCONTEXT, PSP_ALTPLATFORM_INFO, PSTR, DWORD, PDWORD, PVOID);
|
---|
1518 | BOOL WINAPI SetupDiGetActualModelsSectionW(PINFCONTEXT, PSP_ALTPLATFORM_INFO, PWSTR, DWORD, PDWORD, PVOID);
|
---|
1519 | #define SetupDiGetActualModelsSection WINELIB_NAME_AW(SetupDiGetActualModelsSection)
|
---|
1520 | BOOL WINAPI SetupDiGetActualSectionToInstallA(HINF, PCSTR, PSTR, DWORD, PDWORD, PSTR *);
|
---|
1521 | BOOL WINAPI SetupDiGetActualSectionToInstallW(HINF, PCWSTR, PWSTR, DWORD, PDWORD, PWSTR *);
|
---|
1522 | #define SetupDiGetActualSectionToInstall WINELIB_NAME_AW(SetupDiGetActualSectionToInstall)
|
---|
1523 | BOOL WINAPI SetupDiGetActualSectionToInstallExA(HINF, PCSTR, PSTR, DWORD, PDWORD, PSTR *, PVOID);
|
---|
1524 | BOOL WINAPI SetupDiGetActualSectionToInstallExW(HINF, PCWSTR, PWSTR, DWORD, PDWORD, PWSTR *, PVOID);
|
---|
1525 | #define SetupDiGetActualSectionToInstallEx WINELIB_NAME_AW(SetupDiGetActualSectionToInstalExl)
|
---|
1526 | BOOL WINAPI SetupDiGetClassBitmapIndex(const GUID *, PINT);
|
---|
1527 | BOOL WINAPI SetupDiGetClassDescriptionA(const GUID*, PSTR, DWORD, PDWORD);
|
---|
1528 | BOOL WINAPI SetupDiGetClassDescriptionW(const GUID*, PWSTR, DWORD, PDWORD);
|
---|
1529 | #define SetupDiGetClassDescription WINELIB_NAME_AW(SetupDiGetClassDescription)
|
---|
1530 | BOOL WINAPI SetupDiGetClassDescriptionExA(const GUID*, PSTR, DWORD, PDWORD, PCSTR, PVOID);
|
---|
1531 | BOOL WINAPI SetupDiGetClassDescriptionExW(const GUID*, PWSTR, DWORD, PDWORD, PCWSTR, PVOID);
|
---|
1532 | #define SetupDiGetClassDescriptionEx WINELIB_NAME_AW(SetupDiGetClassDescriptionEx)
|
---|
1533 | BOOL WINAPI SetupDiGetClassDevPropertySheetsA(HDEVINFO, PSP_DEVINFO_DATA, LPPROPSHEETHEADERA, DWORD, PDWORD, DWORD);
|
---|
1534 | BOOL WINAPI SetupDiGetClassDevPropertySheetsW(HDEVINFO, PSP_DEVINFO_DATA, LPPROPSHEETHEADERW, DWORD, PDWORD, DWORD);
|
---|
1535 | #define SetupDiGetClassDevPropertySheets WINELIB_NAME_AW(SetupDiGetClassDevPropertySheets)
|
---|
1536 | HDEVINFO WINAPI SetupDiGetClassDevsA(CONST GUID *,LPCSTR,HWND,DWORD);
|
---|
1537 | HDEVINFO WINAPI SetupDiGetClassDevsW(CONST GUID *,LPCWSTR,HWND,DWORD);
|
---|
1538 | #define SetupDiGetClassDevs WINELIB_NAME_AW(SetupDiGetClassDevs)
|
---|
1539 | HDEVINFO WINAPI SetupDiGetClassDevsExA(const GUID *, PCSTR, HWND, DWORD, HDEVINFO, PCSTR, PVOID);
|
---|
1540 | HDEVINFO WINAPI SetupDiGetClassDevsExW(const GUID *, PCWSTR, HWND, DWORD, HDEVINFO, PCWSTR, PVOID);
|
---|
1541 | #define SetupDiGetClassDevsEx WINELIB_NAME_AW(SetupDiGetClassDevsEx)
|
---|
1542 | BOOL WINAPI SetupDiGetClassImageIndex(PSP_CLASSIMAGELIST_DATA, const GUID *, PINT);
|
---|
1543 | BOOL WINAPI SetupDiGetClassImageList(PSP_CLASSIMAGELIST_DATA);
|
---|
1544 | BOOL WINAPI SetupDiGetClassImageListExA(PSP_CLASSIMAGELIST_DATA, PCSTR, PVOID);
|
---|
1545 | BOOL WINAPI SetupDiGetClassImageListExW(PSP_CLASSIMAGELIST_DATA, PCWSTR, PVOID);
|
---|
1546 | #define SetupDiGetClassImageListEx WINELIB_NAME_AW(SetupDiGetClassImageListEx)
|
---|
1547 | BOOL WINAPI SetupDiGetClassInstallParamsA(HDEVINFO, PSP_DEVINFO_DATA, PSP_CLASSINSTALL_HEADER, DWORD, PDWORD);
|
---|
1548 | BOOL WINAPI SetupDiGetClassInstallParamsW(HDEVINFO, PSP_DEVINFO_DATA, PSP_CLASSINSTALL_HEADER, DWORD, PDWORD);
|
---|
1549 | #define SetupDiGetClassInstallParams WINELIB_NAME_AW(SetupDiGetClassInstallParams)
|
---|
1550 | BOOL WINAPI SetupDiGetClassRegistryPropertyA(const GUID *, DWORD, PDWORD, PBYTE, DWORD, PDWORD, PCSTR, PVOID);
|
---|
1551 | BOOL WINAPI SetupDiGetClassRegistryPropertyW(const GUID *, DWORD, PDWORD, PBYTE, DWORD, PDWORD, PCWSTR, PVOID);
|
---|
1552 | #define SetupDiGetClassRegistryProperty WINELIB_NAME_AW(SetupDiGetClassRegistryProperty)
|
---|
1553 | BOOL WINAPI SetupDiGetCustomDevicePropertyA(HDEVINFO, PSP_DEVINFO_DATA, PCSTR, DWORD, PDWORD, PBYTE, DWORD, PDWORD);
|
---|
1554 | BOOL WINAPI SetupDiGetCustomDevicePropertyW(HDEVINFO, PSP_DEVINFO_DATA, PCWSTR, DWORD, PDWORD, PBYTE, DWORD, PDWORD);
|
---|
1555 | #define SetupDiGetCustomDeviceProperty WINELIB_NAME_AW(SetupDiGetCustomDeviceProperty)
|
---|
1556 | BOOL WINAPI SetupDiGetDeviceInfoListClass(HDEVINFO, LPGUID);
|
---|
1557 | BOOL WINAPI SetupDiGetDeviceInfoListDetailA(HDEVINFO, PSP_DEVINFO_LIST_DETAIL_DATA_A);
|
---|
1558 | BOOL WINAPI SetupDiGetDeviceInfoListDetailW(HDEVINFO, PSP_DEVINFO_LIST_DETAIL_DATA_W);
|
---|
1559 | #define SetupDiGetDeviceInfoListDetail WINELIB_NAME_AW(SetupDiGetDeviceInfoListDetail)
|
---|
1560 | BOOL WINAPI SetupDiGetDeviceInstallParamsA(HDEVINFO, PSP_DEVINFO_DATA, PSP_DEVINSTALL_PARAMS_A);
|
---|
1561 | BOOL WINAPI SetupDiGetDeviceInstallParamsW(HDEVINFO, PSP_DEVINFO_DATA, PSP_DEVINSTALL_PARAMS_W);
|
---|
1562 | #define SetupDiGetDeviceInstallParams WINELIB_NAME_AW(SetupDiGetDeviceInstallParams)
|
---|
1563 | BOOL WINAPI SetupDiGetDeviceInstanceIdA(HDEVINFO, PSP_DEVINFO_DATA, PSTR, DWORD, PDWORD);
|
---|
1564 | BOOL WINAPI SetupDiGetDeviceInstanceIdW(HDEVINFO, PSP_DEVINFO_DATA, PWSTR, DWORD, PDWORD);
|
---|
1565 | #define SetupDiGetDeviceInstanceId WINELIB_NAME_AW(SetupDiGetDeviceInstanceId)
|
---|
1566 | BOOL WINAPI SetupDiGetDeviceInterfaceAlias(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, const GUID *, PSP_DEVICE_INTERFACE_DATA);
|
---|
1567 | BOOL WINAPI SetupDiGetDeviceInterfaceDetailA(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, PSP_DEVICE_INTERFACE_DETAIL_DATA_A,
|
---|
1568 | DWORD, PDWORD, PSP_DEVINFO_DATA);
|
---|
1569 | BOOL WINAPI SetupDiGetDeviceInterfaceDetailW(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, PSP_DEVICE_INTERFACE_DETAIL_DATA_W,
|
---|
1570 | DWORD, PDWORD, PSP_DEVINFO_DATA);
|
---|
1571 | #define SetupDiGetDeviceInterfaceDetail WINELIB_NAME_AW(SetupDiGetDeviceInterfaceDetail)
|
---|
1572 | BOOL WINAPI SetupDiGetDeviceRegistryPropertyA(HDEVINFO, PSP_DEVINFO_DATA, DWORD, PDWORD, PBYTE, DWORD, PDWORD);
|
---|
1573 | BOOL WINAPI SetupDiGetDeviceRegistryPropertyW(HDEVINFO, PSP_DEVINFO_DATA, DWORD, PDWORD, PBYTE, DWORD, PDWORD);
|
---|
1574 | BOOL WINAPI SetupDiGetDriverInfoDetailA(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_A, PSP_DRVINFO_DETAIL_DATA_A, DWORD, PDWORD);
|
---|
1575 | BOOL WINAPI SetupDiGetDriverInfoDetailW(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_W, PSP_DRVINFO_DETAIL_DATA_W, DWORD, PDWORD);
|
---|
1576 | #define SetupDiGetDriverInfoDetail WINELIB_NAME_AW(SetupDiGetDriverInfoDetail)
|
---|
1577 | BOOL WINAPI SetupDiGetDriverInstallParamsA(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_A, PSP_DRVINSTALL_PARAMS);
|
---|
1578 | BOOL WINAPI SetupDiGetDriverInstallParamsW(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_W, PSP_DRVINSTALL_PARAMS);
|
---|
1579 | #define SetupDiGetDriverInstallParams WINELIB_NAME_AW(SetupDiGetDriverInstallParams)
|
---|
1580 | BOOL WINAPI SetupDiGetHwProfileFriendlyNameA(DWORD, PSTR, DWORD, PDWORD);
|
---|
1581 | BOOL WINAPI SetupDiGetHwProfileFriendlyNameW(DWORD, PWSTR, DWORD, PDWORD);
|
---|
1582 | #define SetupDiGetHwProfileFriendlyName WINELIB_NAME_AW(SetupDiGetHwProfileFriendlyName)
|
---|
1583 | BOOL WINAPI SetupDiGetHwProfileFriendlyNameExA(DWORD, PSTR, DWORD, PDWORD, PCSTR, PVOID);
|
---|
1584 | BOOL WINAPI SetupDiGetHwProfileFriendlyNameExW(DWORD, PWSTR, DWORD, PDWORD, PCWSTR, PVOID);
|
---|
1585 | #define SetupDiGetHwProfileFriendlyNameEx WINELIB_NAME_AW(SetupDiGetHwProfileFriendlyNameEx)
|
---|
1586 | BOOL WINAPI SetupDiGetHwProfileList(PDWORD, DWORD, PDWORD, PDWORD);
|
---|
1587 | BOOL WINAPI SetupDiGetHwProfileListExA(PDWORD, DWORD, PDWORD, PDWORD, PCSTR, PVOID);
|
---|
1588 | BOOL WINAPI SetupDiGetHwProfileListExW(PDWORD, DWORD, PDWORD, PDWORD, PCWSTR, PVOID);
|
---|
1589 | #define SetupDiGetHwProfileListEx WINELIB_NAME_AW(SetupDiGetHwProfileListEx)
|
---|
1590 | BOOL WINAPI SetupDiGetINFClassA(PCSTR, LPGUID, PSTR, DWORD, PDWORD);
|
---|
1591 | BOOL WINAPI SetupDiGetINFClassW(PCWSTR, LPGUID, PWSTR, DWORD, PDWORD);
|
---|
1592 | #define SetupDiGetINFClass WINELIB_NAME_AW(SetupDiGetINFClass)
|
---|
1593 | BOOL WINAPI SetupDiGetSelectedDevice(HDEVINFO, PSP_DEVINFO_DATA);
|
---|
1594 | BOOL WINAPI SetupDiGetSelectedDriverA(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_A);
|
---|
1595 | BOOL WINAPI SetupDiGetSelectedDriverW(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_W);
|
---|
1596 | #define SetupDiGetSelectedDriver WINELIB_NAME_AW(SetupDiGetSelectedDriver)
|
---|
1597 | HPROPSHEETPAGE WINAPI SetupDiGetWizardPage(HDEVINFO, PSP_DEVINFO_DATA, PSP_INSTALLWIZARD_DATA, DWORD, DWORD);
|
---|
1598 | BOOL WINAPI SetupDiInstallClassA(HWND, PCSTR, DWORD, HSPFILEQ);
|
---|
1599 | BOOL WINAPI SetupDiInstallClassW(HWND, PCWSTR, DWORD, HSPFILEQ);
|
---|
1600 | #define SetupDiInstallClass WINELIB_NAME_AW(SetupDiInstallClass)
|
---|
1601 | BOOL WINAPI SetupDiInstallClassExA(HWND, PCSTR, DWORD, HSPFILEQ, const GUID *, PVOID, PVOID);
|
---|
1602 | BOOL WINAPI SetupDiInstallClassExW(HWND, PCWSTR, DWORD, HSPFILEQ, const GUID *, PVOID, PVOID);
|
---|
1603 | #define SetupDiInstallClassEx WINELIB_NAME_AW(SetupDiInstallClassEx)
|
---|
1604 | BOOL WINAPI SetupDiInstallDevice(HDEVINFO, PSP_DEVINFO_DATA);
|
---|
1605 | BOOL WINAPI SetupDiInstallDeviceInterfaces(HDEVINFO, PSP_DEVINFO_DATA);
|
---|
1606 | BOOL WINAPI SetupDiInstallDriverFiles(HDEVINFO, PSP_DEVINFO_DATA);
|
---|
1607 | BOOL WINAPI SetupDiLoadClassIcon(const GUID *, HICON *, PINT);
|
---|
1608 | HKEY WINAPI SetupDiOpenClassRegKey(const GUID*, REGSAM);
|
---|
1609 | HKEY WINAPI SetupDiOpenClassRegKeyExA(const GUID*, REGSAM, DWORD, PCSTR, PVOID);
|
---|
1610 | HKEY WINAPI SetupDiOpenClassRegKeyExW(const GUID*, REGSAM, DWORD, PCWSTR, PVOID);
|
---|
1611 | #define SetupDiOpenClassRegKeyEx WINELIB_NAME_AW(SetupDiOpenClassRegKeyEx)
|
---|
1612 | BOOL WINAPI SetupDiOpenDeviceInfoA(HDEVINFO, PCSTR, HWND, DWORD, PSP_DEVINFO_DATA);
|
---|
1613 | BOOL WINAPI SetupDiOpenDeviceInfoW(HDEVINFO, PCWSTR, HWND, DWORD, PSP_DEVINFO_DATA);
|
---|
1614 | #define SetupDiOpenDeviceInfo WINELIB_NAME_AW(SetupDiOpenDeviceInfo)
|
---|
1615 | BOOL WINAPI SetupDiOpenDeviceInterfaceA(HDEVINFO, PCSTR, DWORD, PSP_DEVICE_INTERFACE_DATA);
|
---|
1616 | BOOL WINAPI SetupDiOpenDeviceInterfaceW(HDEVINFO, PCWSTR, DWORD, PSP_DEVICE_INTERFACE_DATA);
|
---|
1617 | #define SetupDiOpenDeviceInterface WINELIB_NAME_AW(SetupDiOpenDeviceInterface)
|
---|
1618 | BOOL WINAPI SetupDiOpenDeviceInterfaceRegKey(HDEVINFO, PSP_DEVINFO_DATA, DWORD, REGSAM);
|
---|
1619 | HKEY WINAPI SetupDiOpenDevRegKey(HDEVINFO, PSP_DEVINFO_DATA, DWORD, DWORD, DWORD, REGSAM);
|
---|
1620 | BOOL WINAPI SetupDiRegisterCoDeviceInstallers(HDEVINFO, PSP_DEVINFO_DATA);
|
---|
1621 | BOOL WINAPI SetupDiRegisterDeviceInfo(HDEVINFO, PSP_DEVINFO_DATA, DWORD, PSP_DETSIG_CMPPROC, PVOID, PSP_DEVINFO_DATA);
|
---|
1622 | BOOL WINAPI SetupDiRemoveDevice(HDEVINFO, PSP_DEVINFO_DATA);
|
---|
1623 | BOOL WINAPI SetupDiRemoveDeviceInterface(HDEVINFO, PSP_DEVICE_INTERFACE_DATA);
|
---|
1624 | BOOL WINAPI SetupDiRestartDevices(HDEVINFO, PSP_DEVINFO_DATA);
|
---|
1625 | BOOL WINAPI SetupDiSelectBestCompatDrv(HDEVINFO, PSP_DEVINFO_DATA);
|
---|
1626 | BOOL WINAPI SetupDiSelectDevice(HDEVINFO, PSP_DEVINFO_DATA);
|
---|
1627 | BOOL WINAPI SetupDiSelectOEMDrv(HWND, HDEVINFO, PSP_DEVINFO_DATA);
|
---|
1628 | BOOL WINAPI SetupDiSetClassInstallParamsA(HDEVINFO, PSP_DEVINFO_DATA, PSP_CLASSINSTALL_HEADER, DWORD);
|
---|
1629 | BOOL WINAPI SetupDiSetClassInstallParamsW(HDEVINFO, PSP_DEVINFO_DATA, PSP_CLASSINSTALL_HEADER, DWORD);
|
---|
1630 | #define SetupDiSetClassInstallParams WINELIB_NAME_AW(SetupDiSetClassInstallParams)
|
---|
1631 | BOOL WINAPI SetupDiSetClassRegistryPropertyA(const GUID *, DWORD, const BYTE *, DWORD, PCSTR, PVOID);
|
---|
1632 | BOOL WINAPI SetupDiSetClassRegistryPropertyW(const GUID *, DWORD, const BYTE *, DWORD, PCWSTR, PVOID);
|
---|
1633 | #define SetupDiSetClassRegistryProperty WINELIB_NAME_AW(SetupDiSetClassRegistryProperty)
|
---|
1634 | BOOL WINAPI SetupDiSetDeviceInterfaceDefault(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, DWORD, PVOID);
|
---|
1635 | BOOL WINAPI SetupDiSetDeviceInstallParamsA(HDEVINFO, PSP_DEVINFO_DATA, PSP_DEVINSTALL_PARAMS_A);
|
---|
1636 | BOOL WINAPI SetupDiSetDeviceInstallParamsW(HDEVINFO, PSP_DEVINFO_DATA, PSP_DEVINSTALL_PARAMS_W);
|
---|
1637 | #define SetupDiSetDeviceInstallParams WINELIB_NAME_AW(SetupDiSetDeviceInstallParams)
|
---|
1638 | BOOL WINAPI SetupDiSetDeviceRegistryPropertyA(HDEVINFO, PSP_DEVINFO_DATA, DWORD, const BYTE *, DWORD);
|
---|
1639 | BOOL WINAPI SetupDiSetDeviceRegistryPropertyW(HDEVINFO, PSP_DEVINFO_DATA, DWORD, const BYTE *, DWORD);
|
---|
1640 | #define SetupDiSetDeviceRegistryProperty WINELIB_NAME_AW(SetupDiSetDeviceRegistryProperty)
|
---|
1641 | BOOL WINAPI SetupDiSetDriverInstallParamsA(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_A, PSP_DRVINSTALL_PARAMS);
|
---|
1642 | BOOL WINAPI SetupDiSetDriverInstallParamsW(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_W, PSP_DRVINSTALL_PARAMS);
|
---|
1643 | #define SetupDiSetDriverInstallParams WINELIB_NAME_AW(SetupDiSetDriverInstallParams)
|
---|
1644 | BOOL WINAPI SetupDiSetSelectedDriverA(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_A);
|
---|
1645 | BOOL WINAPI SetupDiSetSelectedDriverW(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_W);
|
---|
1646 | #define SetupDiSetSelectedDriver WINELIB_NAME_AW(SetupDiSetSelectedDriver)
|
---|
1647 | BOOL WINAPI SetupDiUnremoveDevice(HDEVINFO, PSP_DEVINFO_DATA);
|
---|
1648 | HDSKSPC WINAPI SetupDuplicateDiskSpaceListA(HDSKSPC, PVOID, DWORD, UINT);
|
---|
1649 | HDSKSPC WINAPI SetupDuplicateDiskSpaceListW(HDSKSPC, PVOID, DWORD, UINT);
|
---|
1650 | #define SetupDuplicateDiskSpaceList WINELIB_NAME_AW(SetupDuplicateDiskSpaceList)
|
---|
1651 | BOOL WINAPI SetupEnumInfSectionsA(HINF, UINT, PSTR, DWORD, DWORD *);
|
---|
1652 | BOOL WINAPI SetupEnumInfSectionsW(HINF, UINT, PWSTR, DWORD, DWORD *);
|
---|
1653 | #define SetupEnumInfSections WINELIB_NAME_AW(SetupEnumInfSections)
|
---|
1654 | BOOL WINAPI SetupFindFirstLineA( HINF hinf, PCSTR section, PCSTR key, INFCONTEXT *context );
|
---|
1655 | BOOL WINAPI SetupFindFirstLineW( HINF hinf, PCWSTR section, PCWSTR key, INFCONTEXT *context );
|
---|
1656 | #define SetupFindFirstLine WINELIB_NAME_AW(SetupFindFirstLine)
|
---|
1657 | BOOL WINAPI SetupFindNextLine( PINFCONTEXT context_in, PINFCONTEXT context_out );
|
---|
1658 | BOOL WINAPI SetupFindNextMatchLineA( PINFCONTEXT context_in, PCSTR key, PINFCONTEXT context_out );
|
---|
1659 | BOOL WINAPI SetupFindNextMatchLineW( PINFCONTEXT context_in, PCWSTR key, PINFCONTEXT context_out );
|
---|
1660 | #define SetupFindNextMatchLine WINELIB_NAME_AW(SetupFindNextMatchLine)
|
---|
1661 | BOOL WINAPI SetupFreeSourceListA(PCSTR **, UINT);
|
---|
1662 | BOOL WINAPI SetupFreeSourceListW(PCWSTR **, UINT);
|
---|
1663 | #define SetupFreeSourceList WINELIB_NAME_AW(SetupFreeSourceList)
|
---|
1664 | BOOL WINAPI SetupGetBackupInformationA(HSPFILEQ, PSP_BACKUP_QUEUE_PARAMS_A BackupParams);
|
---|
1665 | BOOL WINAPI SetupGetBackupInformationW(HSPFILEQ, PSP_BACKUP_QUEUE_PARAMS_W BackupParams);
|
---|
1666 | #define SetupGetBackupInformation WINELIB_NAME_AW(SetupGetBackupInformation)
|
---|
1667 | BOOL WINAPI SetupGetBinaryField( PINFCONTEXT context, DWORD index, BYTE *buffer, DWORD size, LPDWORD required );
|
---|
1668 | DWORD WINAPI SetupGetFieldCount( PINFCONTEXT context );
|
---|
1669 | DWORD WINAPI SetupGetFileCompressionInfoA(PCSTR, PSTR *, PDWORD, PDWORD, PUINT);
|
---|
1670 | DWORD WINAPI SetupGetFileCompressionInfoW(PCWSTR, PWSTR *, PDWORD, PDWORD, PUINT);
|
---|
1671 | #define SetupGetFileCompressionInfo WINELIB_NAME_AW(SetupGetFileCompressionInfo)
|
---|
1672 | BOOL WINAPI SetupGetFileCompressionInfoExA(PCSTR, PSTR, DWORD, PDWORD, PDWORD, PDWORD, PUINT);
|
---|
1673 | BOOL WINAPI SetupGetFileCompressionInfoExW(PCWSTR, PWSTR, DWORD, PDWORD, PDWORD, PDWORD, PUINT);
|
---|
1674 | #define SetupGetFileCompressionInfoEx WINELIB_NAME_AW(SetupGetFileCompressionInfoEx)
|
---|
1675 | BOOL WINAPI SetupGetFileQueueCount( HSPFILEQ, UINT, PUINT );
|
---|
1676 | BOOL WINAPI SetupGetFileQueueFlags( HSPFILEQ, PDWORD );
|
---|
1677 | BOOL WINAPI SetupGetInfFileListA(PCSTR, DWORD, PSTR, DWORD, PDWORD);
|
---|
1678 | BOOL WINAPI SetupGetInfFileListW(PCWSTR, DWORD, PWSTR, DWORD, PDWORD);
|
---|
1679 | #define SetupGetInfFileList WINELIB_NAME_AW(SetupGetFileList)
|
---|
1680 | BOOL WINAPI SetupGetInfInformationA( LPCVOID, DWORD, PSP_INF_INFORMATION, DWORD, PDWORD);
|
---|
1681 | BOOL WINAPI SetupGetInfInformationW( LPCVOID, DWORD, PSP_INF_INFORMATION, DWORD, PDWORD);
|
---|
1682 | #define SetupGetInfInformation WINELIB_NAME_AW(SetupGetInfInformation)
|
---|
1683 | BOOL WINAPI SetupGetIntField( PINFCONTEXT context, DWORD index, PINT result );
|
---|
1684 | BOOL WINAPI SetupGetLineByIndexA( HINF, PCSTR, DWORD, INFCONTEXT * );
|
---|
1685 | BOOL WINAPI SetupGetLineByIndexW( HINF, PCWSTR, DWORD, INFCONTEXT * );
|
---|
1686 | #define SetupGetLineByIndex WINELIB_NAME_AW(SetupGetLineByIndex)
|
---|
1687 | LONG WINAPI SetupGetLineCountA( HINF hinf, PCSTR section );
|
---|
1688 | LONG WINAPI SetupGetLineCountW( HINF hinf, PCWSTR section );
|
---|
1689 | #define SetupGetLineCount WINELIB_NAME_AW(SetupGetLineCount)
|
---|
1690 | BOOL WINAPI SetupGetLineTextA( PINFCONTEXT context, HINF hinf, PCSTR section_name,PCSTR key_name, PSTR buffer, DWORD size, PDWORD required );
|
---|
1691 | BOOL WINAPI SetupGetLineTextW( PINFCONTEXT context, HINF hinf, PCWSTR section_name, PCWSTR key_name, PWSTR buffer, DWORD size, PDWORD required );
|
---|
1692 | #define SetupGetLineText WINELIB_NAME_AW(SetupGetLineText)
|
---|
1693 | BOOL WINAPI SetupGetMultiSzFieldA( PINFCONTEXT context, DWORD index, PSTR buffer, DWORD size, LPDWORD required );
|
---|
1694 | BOOL WINAPI SetupGetMultiSzFieldW( PINFCONTEXT context, DWORD index, PWSTR buffer, DWORD size, LPDWORD required );
|
---|
1695 | #define SetupGetMultiSzField WINELIB_NAME_AW(SetupGetMultiSzField)
|
---|
1696 | BOOL WINAPI SetupGetNonInteractiveMode(void);
|
---|
1697 | BOOL WINAPI SetupGetSourceFileLocationA( HINF hinf, PINFCONTEXT context, PCSTR filename, PUINT source_id, PSTR buffer, DWORD buffer_size, PDWORD required_size );
|
---|
1698 | BOOL WINAPI SetupGetSourceFileLocationW( HINF hinf, PINFCONTEXT context, PCWSTR filename, PUINT source_id, PWSTR buffer, DWORD buffer_size, PDWORD required_size );
|
---|
1699 | #define SetupGetSourceFileLocation WINELIB_NAME_AW(SetupGetSourceFileLocation)
|
---|
1700 | BOOL WINAPI SetupGetSourceFileSizeA(HINF, PINFCONTEXT, PCSTR, PCSTR, PDWORD, UINT);
|
---|
1701 | BOOL WINAPI SetupGetSourceFileSizeW(HINF, PINFCONTEXT, PCWSTR, PCWSTR, PDWORD, UINT);
|
---|
1702 | #define SetupGetSourceFileSize WINELIB_NAME_AW(SetupGetSourceFileSize)
|
---|
1703 | BOOL WINAPI SetupGetSourceInfoA( HINF hinf, UINT source_id, UINT info, PSTR buffer, DWORD buffer_size, LPDWORD required_size );
|
---|
1704 | BOOL WINAPI SetupGetSourceInfoW( HINF hinf, UINT source_id, UINT info, PWSTR buffer, DWORD buffer_size, LPDWORD required_size );
|
---|
1705 | #define SetupGetSourceInfo WINELIB_NAME_AW(SetupGetSourceInfo)
|
---|
1706 | BOOL WINAPI SetupGetStringFieldA( PINFCONTEXT context, DWORD index, PSTR buffer, DWORD size, PDWORD required );
|
---|
1707 | BOOL WINAPI SetupGetStringFieldW( PINFCONTEXT context, DWORD index, PWSTR buffer, DWORD size, PDWORD required );
|
---|
1708 | #define SetupGetStringField WINELIB_NAME_AW(SetupGetStringField)
|
---|
1709 | BOOL WINAPI SetupGetTargetPathA( HINF hinf, PINFCONTEXT context, PCSTR section, PSTR buffer, DWORD buffer_size, PDWORD required_size );
|
---|
1710 | BOOL WINAPI SetupGetTargetPathW( HINF hinf, PINFCONTEXT context, PCWSTR section, PWSTR buffer, DWORD buffer_size, PDWORD required_size );
|
---|
1711 | #define SetupGetTargetPath WINELIB_NAME_AW(SetupGetTargetPath)
|
---|
1712 | PVOID WINAPI SetupInitDefaultQueueCallback( HWND );
|
---|
1713 | PVOID WINAPI SetupInitDefaultQueueCallbackEx( HWND, HWND, UINT, DWORD, PVOID );
|
---|
1714 | HSPFILELOG WINAPI SetupInitializeFileLogA(PCSTR, DWORD);
|
---|
1715 | HSPFILELOG WINAPI SetupInitializeFileLogW(PCWSTR, DWORD);
|
---|
1716 | #define SetupInitializeFileLog WINELIB_NAME_AW(SetupInitializeFileLog)
|
---|
1717 | BOOL WINAPI SetupInstallFileA(HINF, PINFCONTEXT, PCSTR, PCSTR, PCSTR, DWORD, PSP_FILE_CALLBACK_A, PVOID);
|
---|
1718 | BOOL WINAPI SetupInstallFileW(HINF, PINFCONTEXT, PCWSTR, PCWSTR, PCWSTR, DWORD, PSP_FILE_CALLBACK_W, PVOID);
|
---|
1719 | #define SetupInstallFile WINELIB_NAME_AW(SetupInstallFile)
|
---|
1720 | BOOL WINAPI SetupInstallFileExA(HINF, PINFCONTEXT, PCSTR, PCSTR, PCSTR, DWORD, PSP_FILE_CALLBACK_A, PVOID, PBOOL);
|
---|
1721 | BOOL WINAPI SetupInstallFileExW(HINF, PINFCONTEXT, PCWSTR, PCWSTR, PCWSTR, DWORD, PSP_FILE_CALLBACK_W, PVOID, PBOOL);
|
---|
1722 | #define SetupInstallFileEx WINELIB_NAME_AW(SetupInstallFileEx)
|
---|
1723 | BOOL WINAPI SetupInstallFilesFromInfSectionA( HINF, HINF, HSPFILEQ, PCSTR, PCSTR, UINT );
|
---|
1724 | BOOL WINAPI SetupInstallFilesFromInfSectionW( HINF, HINF, HSPFILEQ, PCWSTR, PCWSTR, UINT );
|
---|
1725 | #define SetupInstallFilesFromInfSection WINELIB_NAME_AW(SetupInstallFilesFromInfSection)
|
---|
1726 | BOOL WINAPI SetupInstallFromInfSectionA(HWND,HINF,PCSTR,UINT,HKEY,PCSTR,UINT,
|
---|
1727 | PSP_FILE_CALLBACK_A,PVOID,HDEVINFO,PSP_DEVINFO_DATA);
|
---|
1728 | BOOL WINAPI SetupInstallFromInfSectionW(HWND,HINF,PCWSTR,UINT,HKEY,PCWSTR,UINT,
|
---|
1729 | PSP_FILE_CALLBACK_W,PVOID,HDEVINFO,PSP_DEVINFO_DATA);
|
---|
1730 | #define SetupInstallFromInfSection WINELIB_NAME_AW(SetupInstallFromInfSection)
|
---|
1731 | BOOL WINAPI SetupInstallServicesFromInfSectionA(HINF, PCSTR, DWORD);
|
---|
1732 | BOOL WINAPI SetupInstallServicesFromInfSectionW(HINF, PCWSTR, DWORD);
|
---|
1733 | #define SetupInstallServicesFromInfSection WINELIB_NAME_AW(SetupInstallServicesFromInfSection)
|
---|
1734 | BOOL WINAPI SetupInstallServicesFromInfSectionExA(HINF, PCSTR, DWORD, HDEVINFO, PSP_DEVINFO_DATA, PVOID, PVOID);
|
---|
1735 | BOOL WINAPI SetupInstallServicesFromInfSectionExW(HINF, PCWSTR, DWORD, HDEVINFO, PSP_DEVINFO_DATA, PVOID, PVOID);
|
---|
1736 | #define SetupInstallServicesFromInfSectionEx WINELIB_NAME_AW(SetupInstallServicesFromInfSectionEx)
|
---|
1737 | BOOL WINAPI SetupIterateCabinetA(PCSTR, DWORD, PSP_FILE_CALLBACK_A, PVOID);
|
---|
1738 | BOOL WINAPI SetupIterateCabinetW(PCWSTR, DWORD, PSP_FILE_CALLBACK_W, PVOID);
|
---|
1739 | #define SetupIterateCabinet WINELIB_NAME_AW(SetupIterateCabinet)
|
---|
1740 | BOOL WINAPI SetupLogErrorA(LPCSTR,LogSeverity);
|
---|
1741 | BOOL WINAPI SetupLogErrorW(LPCWSTR,LogSeverity);
|
---|
1742 | #define SetupLogError WINELIB_NAME_AW(SetupLogError)
|
---|
1743 | BOOL WINAPI SetupLogFileA(HSPFILELOG, PCSTR, PCSTR, PCSTR, DWORD, PCSTR, PCSTR, PCSTR, DWORD);
|
---|
1744 | BOOL WINAPI SetupLogFileW(HSPFILELOG, PCWSTR, PCWSTR, PCWSTR, DWORD, PCWSTR, PCWSTR, PCWSTR, DWORD);
|
---|
1745 | #define SetupLogFile WINELIB_NAME_AW(SetupLogFile)
|
---|
1746 | BOOL WINAPI SetupOpenAppendInfFileA( PCSTR, HINF, UINT * );
|
---|
1747 | BOOL WINAPI SetupOpenAppendInfFileW( PCWSTR, HINF, UINT * );
|
---|
1748 | #define SetupOpenAppendInfFile WINELIB_NAME_AW(SetupOpenAppendInfFile)
|
---|
1749 | HSPFILEQ WINAPI SetupOpenFileQueue(void);
|
---|
1750 | HINF WINAPI SetupOpenInfFileA( PCSTR name, PCSTR pszclass, DWORD style, UINT *error );
|
---|
1751 | HINF WINAPI SetupOpenInfFileW( PCWSTR name, PCWSTR pszclass, DWORD style, UINT *error );
|
---|
1752 | #define SetupOpenInfFile WINELIB_NAME_AW(SetupOpenInfFile)
|
---|
1753 | BOOL WINAPI SetupOpenLog(BOOL);
|
---|
1754 | HINF WINAPI SetupOpenMasterInf( VOID );
|
---|
1755 | BOOL WINAPI SetupPrepareQueueForRestoreA(HSPFILEQ, PCSTR, DWORD);
|
---|
1756 | BOOL WINAPI SetupPrepareQueueForRestoreW(HSPFILEQ, PCWSTR, DWORD);
|
---|
1757 | #define SetupPrepareQueueForRestore WINELIB_NAME_AW(SetupPrepareQueueForRestore)
|
---|
1758 | UINT WINAPI SetupPromptForDiskA(HWND, PCSTR, PCSTR, PCSTR, PCSTR, PCSTR, DWORD, PSTR, DWORD, PDWORD);
|
---|
1759 | UINT WINAPI SetupPromptForDiskW(HWND, PCWSTR, PCWSTR, PCWSTR, PCWSTR, PCWSTR, DWORD, PWSTR, DWORD, PDWORD);
|
---|
1760 | #define SetupPromptForDisk WINELIB_NAME_AW(SetupPromptForDisk)
|
---|
1761 | INT WINAPI SetupPromptReboot( HSPFILEQ, HWND, BOOL);
|
---|
1762 | BOOL WINAPI SetupQueryDrivesInDiskSpaceListA(HDSKSPC, PSTR, DWORD, PDWORD);
|
---|
1763 | BOOL WINAPI SetupQueryDrivesInDiskSpaceListW(HDSKSPC, PWSTR, DWORD, PDWORD);
|
---|
1764 | #define SetupQueryDrivesInDiskSpaceList WINELIB_NAME_AW(SetupQueryDrivesInDiskSpaceList)
|
---|
1765 | BOOL WINAPI SetupQueryFileLogA(HSPFILELOG, PCSTR, PCSTR, SetupFileLogInfo, PSTR, DWORD, PDWORD);
|
---|
1766 | BOOL WINAPI SetupQueryFileLogW(HSPFILELOG, PCWSTR, PCWSTR, SetupFileLogInfo, PWSTR, DWORD, PDWORD);
|
---|
1767 | #define SetupQueryFileLog WINELIB_NAME_AW(SetupQueryFileLog)
|
---|
1768 | BOOL WINAPI SetupQueryInfFileInformationA(PSP_INF_INFORMATION, UINT, PSTR, DWORD, PDWORD);
|
---|
1769 | BOOL WINAPI SetupQueryInfFileInformationW(PSP_INF_INFORMATION, UINT, PWSTR, DWORD, PDWORD);
|
---|
1770 | #define SetupQueryInfFileInformation WINELIB_NAME_AW(SetupQueryInFileInformation)
|
---|
1771 | BOOL WINAPI SetupQueryInfOriginalFileInformationA(PSP_INF_INFORMATION, UINT, PSP_ALTPLATFORM_INFO, PSP_ORIGINAL_FILE_INFO_A);
|
---|
1772 | BOOL WINAPI SetupQueryInfOriginalFileInformationW(PSP_INF_INFORMATION, UINT, PSP_ALTPLATFORM_INFO, PSP_ORIGINAL_FILE_INFO_W);
|
---|
1773 | #define SetupQueryInfOriginalFileInformation WINELIB_NAME_AW(SetupQueryInfOriginalFileInformation)
|
---|
1774 | BOOL WINAPI SetupQueryInfVersionInformationA(PSP_INF_INFORMATION, UINT, PCSTR, PSTR, DWORD, PDWORD);
|
---|
1775 | BOOL WINAPI SetupQueryInfVersionInformationW(PSP_INF_INFORMATION, UINT, PCWSTR, PWSTR, DWORD, PDWORD);
|
---|
1776 | #define SetupQueryInfVersionInformation WINELIB_NAME_AW(SetupQueryInfVersionInformation)
|
---|
1777 | BOOL WINAPI SetupQuerySourceListA(DWORD, PCSTR **, PUINT);
|
---|
1778 | BOOL WINAPI SetupQuerySourceListW(DWORD, PCWSTR **, PUINT);
|
---|
1779 | #define SetupQuerySourceList WINELIB_NAME_AW(SetupQuerySourceList)
|
---|
1780 | BOOL WINAPI SetupQuerySpaceRequiredOnDriveA(HDSKSPC, PCSTR, LONGLONG *, PVOID, UINT);
|
---|
1781 | BOOL WINAPI SetupQuerySpaceRequiredOnDriveW(HDSKSPC, PCWSTR, LONGLONG *, PVOID, UINT);
|
---|
1782 | #define SetupQuerySpaceRequiredOnDrive WINELIB_NAME_AW(SetupQuerySpaceRequiredOnDrive)
|
---|
1783 | BOOL WINAPI SetupQueueCopyA(HSPFILEQ,PCSTR,PCSTR,PCSTR,PCSTR,PCSTR,PCSTR,PCSTR,DWORD);
|
---|
1784 | BOOL WINAPI SetupQueueCopyW(HSPFILEQ,PCWSTR,PCWSTR,PCWSTR,PCWSTR,PCWSTR,PCWSTR,PCWSTR,DWORD);
|
---|
1785 | #define SetupQueueCopy WINELIB_NAME_AW(SetupQueueCopy)
|
---|
1786 | BOOL WINAPI SetupQueueCopyIndirectA( PSP_FILE_COPY_PARAMS_A );
|
---|
1787 | BOOL WINAPI SetupQueueCopyIndirectW( PSP_FILE_COPY_PARAMS_W );
|
---|
1788 | #define SetupQueueCopyIndirect WINELIB_NAME_AW(SetupQueueCopyIndirect)
|
---|
1789 | BOOL WINAPI SetupQueueCopySectionA( HSPFILEQ, PCSTR, HINF, HINF, PCSTR, DWORD );
|
---|
1790 | BOOL WINAPI SetupQueueCopySectionW( HSPFILEQ, PCWSTR, HINF, HINF, PCWSTR, DWORD );
|
---|
1791 | #define SetupQueueCopySection WINELIB_NAME_AW(SetupQueueCopySection)
|
---|
1792 | BOOL WINAPI SetupQueueDefaultCopyA( HSPFILEQ, HINF, PCSTR, PCSTR, PCSTR, DWORD );
|
---|
1793 | BOOL WINAPI SetupQueueDefaultCopyW( HSPFILEQ, HINF, PCWSTR, PCWSTR, PCWSTR, DWORD );
|
---|
1794 | #define SetupQueueDefaultCopy WINELIB_NAME_AW(SetupQueueDefaultCopy)
|
---|
1795 | BOOL WINAPI SetupQueueDeleteA( HSPFILEQ, PCSTR, PCSTR );
|
---|
1796 | BOOL WINAPI SetupQueueDeleteW( HSPFILEQ, PCWSTR, PCWSTR );
|
---|
1797 | #define SetupQueueDelete WINELIB_NAME_AW(SetupQueueDelete)
|
---|
1798 | BOOL WINAPI SetupQueueDeleteSectionA( HSPFILEQ, HINF, HINF, PCSTR );
|
---|
1799 | BOOL WINAPI SetupQueueDeleteSectionW( HSPFILEQ, HINF, HINF, PCWSTR );
|
---|
1800 | #define SetupQueueDeleteSection WINELIB_NAME_AW(SetupQueueDeleteSection)
|
---|
1801 | BOOL WINAPI SetupQueueRenameA( HSPFILEQ, PCSTR, PCSTR, PCSTR, PCSTR );
|
---|
1802 | BOOL WINAPI SetupQueueRenameW( HSPFILEQ, PCWSTR, PCWSTR, PCWSTR, PCWSTR );
|
---|
1803 | #define SetupQueueRename WINELIB_NAME_AW(SetupQueueRename)
|
---|
1804 | BOOL WINAPI SetupQueueRenameSectionA( HSPFILEQ, HINF, HINF, PCSTR );
|
---|
1805 | BOOL WINAPI SetupQueueRenameSectionW( HSPFILEQ, HINF, HINF, PCWSTR );
|
---|
1806 | #define SetupQueueRenameSection WINELIB_NAME_AW(SetupQueueRenameSection)
|
---|
1807 | BOOL WINAPI SetupRemoveFileLogEntryA(HSPFILELOG, PCSTR, PCSTR);
|
---|
1808 | BOOL WINAPI SetupRemoveFileLogEntryW(HSPFILELOG, PCWSTR, PCWSTR);
|
---|
1809 | #define SetupRemoveFileLogEntry WINELIB_NAME_AW(SetupRemoveFileLogEntry)
|
---|
1810 | BOOL WINAPI SetupRemoveFromDiskSpaceListA(HDSKSPC, PCSTR, UINT, PVOID, UINT);
|
---|
1811 | BOOL WINAPI SetupRemoveFromDiskSpaceListW(HDSKSPC, PCWSTR, UINT, PVOID, UINT);
|
---|
1812 | #define SetupRemoveFromDiskSpaceList WINELIB_NAME_AW(SetupRemoveFromDiskSpaceList)
|
---|
1813 | BOOL WINAPI SetupRemoveInstallSectionFromDiskSpaceListA(HDSKSPC, HINF, HINF, PCSTR, PVOID, UINT);
|
---|
1814 | BOOL WINAPI SetupRemoveInstallSectionFromDiskSpaceListW(HDSKSPC, HINF, HINF, PCWSTR, PVOID, UINT);
|
---|
1815 | #define SetupRemoveInstallSectionFromDiskSpaceList WINELIB_NAME_AW(SetupRemoveInstallSectionFromDiskSpaceList)
|
---|
1816 | BOOL WINAPI SetupRemoveSectionFromDiskSpaceListA(HDSKSPC, HINF, HINF, PCSTR, UINT, PVOID, UINT);
|
---|
1817 | BOOL WINAPI SetupRemoveSectionFromDiskSpaceListW(HDSKSPC, HINF, HINF, PCWSTR, UINT, PVOID, UINT);
|
---|
1818 | #define SetupRemoveSectionFromDiskSpaceList WINELIB_NAME_AW(SetupRemoveSectionFromDiskSpaceList)
|
---|
1819 | BOOL WINAPI SetupRemoveFromSourceListA(DWORD, PCSTR);
|
---|
1820 | BOOL WINAPI SetupRemoveFromSourceListW(DWORD, PCWSTR);
|
---|
1821 | #define SetupRemoveFromSourceList WINELIB_NAME_AW(SetupRemoveFromSourceList)
|
---|
1822 | UINT WINAPI SetupRenameErrorA( HWND, PCSTR, PCSTR, PCSTR, UINT, DWORD );
|
---|
1823 | UINT WINAPI SetupRenameErrorW( HWND, PCWSTR, PCWSTR, PCWSTR, UINT, DWORD );
|
---|
1824 | #define SetupRenameError WINELIB_NAME_AW(SetupRenameError)
|
---|
1825 | BOOL WINAPI SetupScanFileQueueA( HSPFILEQ, DWORD, HWND, PSP_FILE_CALLBACK_A, PVOID, PDWORD );
|
---|
1826 | BOOL WINAPI SetupScanFileQueueW( HSPFILEQ, DWORD, HWND, PSP_FILE_CALLBACK_W, PVOID, PDWORD );
|
---|
1827 | #define SetupScanFileQueue WINELIB_NAME_AW(SetupScanFileQueue)
|
---|
1828 | BOOL WINAPI SetupSetDirectoryIdA( HINF, DWORD, PCSTR );
|
---|
1829 | BOOL WINAPI SetupSetDirectoryIdW( HINF, DWORD, PCWSTR );
|
---|
1830 | #define SetupSetDirectoryId WINELIB_NAME_AW(SetupSetDirectoryId)
|
---|
1831 | BOOL WINAPI SetupSetDirectoryIdExA( HINF, DWORD, PCSTR, DWORD, DWORD, PVOID );
|
---|
1832 | BOOL WINAPI SetupSetDirectoryIdExW( HINF, DWORD, PCWSTR, DWORD, DWORD, PVOID );
|
---|
1833 | #define SetupSetDirectoryIdEx WINELIB_NAME_AW(SetupSetDirectoryIdEx)
|
---|
1834 | BOOL WINAPI SetupSetFileQueueAlternatePlatformA( HSPFILEQ, PSP_ALTPLATFORM_INFO, PCSTR );
|
---|
1835 | BOOL WINAPI SetupSetFileQueueAlternatePlatformW( HSPFILEQ, PSP_ALTPLATFORM_INFO, PCWSTR );
|
---|
1836 | #define SetupSetFileQueueAlternatePlatform WINELIB_NAME_AW(SetupSetFileQueueAlternatePlatform)
|
---|
1837 | BOOL WINAPI SetupSetFileQueueFlags( HSPFILEQ, DWORD, DWORD );
|
---|
1838 | BOOL WINAPI SetupSetNonInteractiveMode(BOOL);
|
---|
1839 | BOOL WINAPI SetupSetPlatformPathOverrideA(PCSTR);
|
---|
1840 | BOOL WINAPI SetupSetPlatformPathOverrideW(PCWSTR);
|
---|
1841 | #define SetupSetPlatformPathOverride WINELIB_NAME_AW(SetupSetPlatformPathOverride)
|
---|
1842 | BOOL WINAPI SetupSetSourceListA(DWORD, PCSTR *, UINT);
|
---|
1843 | BOOL WINAPI SetupSetSourceListW(DWORD, PCWSTR *, UINT);
|
---|
1844 | #define SetupSetSourceList WINELIB_NAME_AW(SetupSetSourceList)
|
---|
1845 | void WINAPI SetupTermDefaultQueueCallback( PVOID );
|
---|
1846 | BOOL WINAPI SetupTerminateFileLog(HSPFILELOG);
|
---|
1847 | BOOL WINAPI SetupUninstallOEMInfA(PCSTR, DWORD, PVOID);
|
---|
1848 | BOOL WINAPI SetupUninstallOEMInfW(PCWSTR, DWORD, PVOID);
|
---|
1849 | #define SetupUninstallOEMInf WINELIB_NAME_AW(SetupUninstallOEMInf)
|
---|
1850 | BOOL WINAPI SetupUninstallNewlyCopiedInfs(HSPFILEQ, DWORD, PVOID);
|
---|
1851 | BOOL WINAPI SetupVerifyInfFileA(PCSTR, PSP_ALTPLATFORM_INFO, PSP_INF_SIGNER_INFO_A);
|
---|
1852 | BOOL WINAPI SetupVerifyInfFileW(PCWSTR, PSP_ALTPLATFORM_INFO, PSP_INF_SIGNER_INFO_W);
|
---|
1853 | #define SetupVerifyInfFile WINELIB_NAME_AW(SetupVerifyInfFile)
|
---|
1854 | DWORD WINAPI StampFileSecurity(PCWSTR, PSECURITY_DESCRIPTOR);
|
---|
1855 | DWORD WINAPI TakeOwnershipOfFile(PCWSTR);
|
---|
1856 | PSTR WINAPI UnicodeToMultiByte(PCWSTR lpUnicodeStr, UINT uCodePage);
|
---|
1857 | BOOL WINAPI UnmapAndCloseFile(HANDLE, HANDLE, PVOID);
|
---|
1858 |
|
---|
1859 |
|
---|
1860 | #ifdef __cplusplus
|
---|
1861 | }
|
---|
1862 | #endif
|
---|
1863 |
|
---|
1864 | #undef DECL_WINELIB_SETUPAPI_TYPE_AW
|
---|
1865 |
|
---|
1866 | #include <poppack.h>
|
---|
1867 |
|
---|
1868 | #endif /* _INC_SETUPAPI */
|
---|