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