Implement FixSlashesAndColonW and add stub for SHGetAppCompatFlags.
[wine.git] / include / setupapi.h
blobf0835583e9bab41529506d05fd476b977f718581
1 /*
2 * Copyright (C) 2000 James Hatheway
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #ifndef _INC_SETUPAPI
20 #define _INC_SETUPAPI
22 #include <commctrl.h>
24 /* setupapi doesn't use the normal convention, it adds an underscore before A/W */
25 #ifdef __WINESRC__
26 # define DECL_WINELIB_SETUPAPI_TYPE_AW(type) /* nothing */
27 #else /* __WINESRC__ */
28 # define DECL_WINELIB_SETUPAPI_TYPE_AW(type) typedef WINELIB_NAME_AW(type##_) type;
29 #endif /* __WINESRC__ */
31 /* Define type for handle to a loaded inf file */
32 typedef PVOID HINF;
34 /* Define type for handle to a device information set */
35 typedef PVOID HDEVINFO;
37 /* Define type for setup file queue */
38 typedef PVOID HSPFILEQ;
40 typedef PVOID HDSKSPC;
42 /* inf structure. */
43 typedef struct _INFCONTEXT
45 PVOID Inf;
46 PVOID CurrentInf;
47 UINT Section;
48 UINT Line;
49 } INFCONTEXT, *PINFCONTEXT;
51 typedef struct _SP_ALTPLATFORM_INFO_V2
53 DWORD cbSize;
54 DWORD Platform;
55 DWORD MajorVersion;
56 DWORD MinorVersion;
57 WORD ProcessorArchitecture;
58 union
60 WORD Reserved;
61 WORD Flags;
62 } DUMMYUNIONNAME;
63 DWORD FirstValidatedMajorVersion;
64 DWORD FirstValidatedMinorVersion;
65 } SP_ALTPLATFORM_INFO_V2, *PSP_ALTPLATFORM_INFO_V2;
67 #define SP_ALTPLATFORM_FLAGS_VERSION_RANGE 0x0001
69 typedef struct _SP_ALTPLATFORM_INFO_V1
71 DWORD cbSize;
72 DWORD Platform;
73 DWORD MajorVersion;
74 DWORD MinorVersion;
75 WORD ProcessorArchitecture;
76 WORD Reserved;
77 } SP_ALTPLATFORM_INFO_V1, *PSP_ALTPLATFORM_INFO_V1;
79 typedef SP_ALTPLATFORM_INFO_V2 SP_ALTPLATFORM_INFO;
80 typedef PSP_ALTPLATFORM_INFO_V2 PSP_ALTPLATFORM_INFO;
82 typedef struct _SP_FILE_COPY_PARAMS_A
84 DWORD cbSize;
85 HSPFILEQ QueueHandle;
86 PCSTR SourceRootPath;
87 PCSTR SourcePath;
88 PCSTR SourceFilename;
89 PCSTR SourceDescription;
90 PCSTR SourceTagfile;
91 PCSTR TargetDirectory;
92 PCSTR TargetFilename;
93 DWORD CopyStyle;
94 HINF LayoutInf;
95 PCSTR SecurityDescriptor;
96 } SP_FILE_COPY_PARAMS_A, *PSP_FILE_COPY_PARAMS_A;
98 typedef struct _SP_FILE_COPY_PARAMS_W
100 DWORD cbSize;
101 HSPFILEQ QueueHandle;
102 PCWSTR SourceRootPath;
103 PCWSTR SourcePath;
104 PCWSTR SourceFilename;
105 PCWSTR SourceDescription;
106 PCWSTR SourceTagfile;
107 PCWSTR TargetDirectory;
108 PCWSTR TargetFilename;
109 DWORD CopyStyle;
110 HINF LayoutInf;
111 PCWSTR SecurityDescriptor;
112 } SP_FILE_COPY_PARAMS_W, *PSP_FILE_COPY_PARAMS_W;
114 DECL_WINELIB_SETUPAPI_TYPE_AW(SP_FILE_COPY_PARAMS)
115 DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_FILE_COPY_PARAMS)
117 typedef struct _SP_REGISTER_CONTROL_STATUSA
119 DWORD cbSize;
120 PCSTR FileName;
121 DWORD Win32Error;
122 DWORD FailureCode;
123 } SP_REGISTER_CONTROL_STATUSA, *PSP_REGISTER_CONTROL_STATUSA;
125 typedef struct _SP_REGISTER_CONTROL_STATUSW
127 DWORD cbSize;
128 PCWSTR FileName;
129 DWORD Win32Error;
130 DWORD FailureCode;
131 } SP_REGISTER_CONTROL_STATUSW, *PSP_REGISTER_CONTROL_STATUSW;
133 DECL_WINELIB_TYPE_AW(SP_REGISTER_CONTROL_STATUS)
134 DECL_WINELIB_TYPE_AW(PSP_REGISTER_CONTROL_STATUS)
136 #define SPREG_SUCCESS 0x00000000
137 #define SPREG_LOADLIBRARY 0x00000001
138 #define SPREG_GETPROCADDR 0x00000002
139 #define SPREG_REGSVR 0x00000003
140 #define SPREG_DLLINSTALL 0x00000004
141 #define SPREG_TIMEOUT 0x00000005
142 #define SPREG_UNKNOWN 0xffffffff
144 typedef UINT (CALLBACK *PSP_FILE_CALLBACK_A)( PVOID Context, UINT Notification,
145 UINT_PTR Param1, UINT_PTR Param2 );
146 typedef UINT (CALLBACK *PSP_FILE_CALLBACK_W)( PVOID Context, UINT Notification,
147 UINT_PTR Param1, UINT_PTR Param2 );
148 DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_FILE_CALLBACK)
150 #define LINE_LEN 256
151 #define MAX_INF_STRING_LENGTH 4096
152 #define MAX_TITLE_LEN 60
153 #define MAX_INSTRUCTION_LEN 256
154 #define MAX_LABEL_LEN 30
155 #define MAX_SERVICE_NAME_LEN 256
156 #define MAX_SUBTITLE_LEN 256
157 #define SP_MAX_MACHINENAME_LENGTH (MAX_PATH + 3)
159 /* Device Information structure (references a device instance that is a member
160 of a device information set) */
161 typedef struct _SP_DEVINFO_DATA
163 DWORD cbSize;
164 GUID ClassGuid;
165 DWORD DevInst; /* DEVINST handle */
166 DWORD Reserved;
167 } SP_DEVINFO_DATA, *PSP_DEVINFO_DATA;
169 typedef struct _SP_DEVICE_INTERFACE_DATA
171 DWORD cbSize;
172 GUID InterfaceClassGuid;
173 DWORD Flags;
174 ULONG_PTR Reserved;
175 } SP_DEVICE_INTERFACE_DATA, *PSP_DEVICE_INTERFACE_DATA;
177 typedef struct _SP_DEVICE_INTERFACE_DETAIL_DATA_A
179 DWORD cbSize;
180 CHAR DevicePath[ANYSIZE_ARRAY];
181 } SP_DEVICE_INTERFACE_DETAIL_DATA_A, *PSP_DEVICE_INTERFACE_DETAIL_DATA_A;
183 typedef struct _SP_DEVICE_INTERFACE_DETAIL_DATA_W
185 DWORD cbSize;
186 WCHAR DevicePath[ANYSIZE_ARRAY];
187 } SP_DEVICE_INTERFACE_DETAIL_DATA_W, *PSP_DEVICE_INTERFACE_DETAIL_DATA_W;
189 DECL_WINELIB_SETUPAPI_TYPE_AW(SP_DEVICE_INTERFACE_DETAIL_DATA)
190 DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_DEVICE_INTERFACE_DETAIL_DATA)
192 typedef struct _SP_DEVINFO_LIST_DETAIL_DATA_A {
193 DWORD cbSize;
194 GUID ClassGuid;
195 HANDLE RemoteMachineHandle;
196 CHAR RemoteMachineName[SP_MAX_MACHINENAME_LENGTH];
197 } SP_DEVINFO_LIST_DETAIL_DATA_A, *PSP_DEVINFO_LIST_DETAIL_DATA_A;
199 typedef struct _SP_DEVINFO_LIST_DETAIL_DATA_W {
200 DWORD cbSize;
201 GUID ClassGuid;
202 HANDLE RemoteMachineHandle;
203 WCHAR RemoteMachineName[SP_MAX_MACHINENAME_LENGTH];
204 } SP_DEVINFO_LIST_DETAIL_DATA_W, *PSP_DEVINFO_LIST_DETAIL_DATA_W;
206 DECL_WINELIB_SETUPAPI_TYPE_AW(SP_DEVINFO_LIST_DETAIL_DATA)
207 DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_DEVINFO_LIST_DETAIL_DATA)
209 typedef struct _FILE_IN_CABINET_INFO_A {
210 LPCSTR NameInCabinet;
211 DWORD FileSize;
212 DWORD Win32Error;
213 WORD DosDate;
214 WORD DosTime;
215 WORD DosAttribs;
216 CHAR FullTargetName[MAX_PATH];
217 } FILE_IN_CABINET_INFO_A, *PFILE_IN_CABINET_INFO_A;
219 typedef struct _FILE_IN_CABINET_INFO_W {
220 LPCWSTR NameInCabinet;
221 DWORD FileSize;
222 DWORD Win32Error;
223 WORD DosDate;
224 WORD DosTime;
225 WORD DosAttribs;
226 WCHAR FullTargetName[MAX_PATH];
227 } FILE_IN_CABINET_INFO_W, *PFILE_IN_CABINET_INFO_W;
229 DECL_WINELIB_SETUPAPI_TYPE_AW(FILE_IN_CABINET_INFO)
230 DECL_WINELIB_SETUPAPI_TYPE_AW(PFILE_IN_CABINET_INFO)
232 typedef struct _CABINET_INFO_A {
233 PCSTR CabinetPath;
234 PCSTR CabinetFile;
235 PCSTR DiskName;
236 USHORT SetId;
237 USHORT CabinetNumber;
238 } CABINET_INFO_A, *PCABINET_INFO_A;
240 typedef struct _CABINET_INFO_W {
241 PCWSTR CabinetPath;
242 PCWSTR CabinetFile;
243 PCWSTR DiskName;
244 USHORT SetId;
245 USHORT CabinetNumber;
246 } CABINET_INFO_W, *PCABINET_INFO_W;
248 DECL_WINELIB_SETUPAPI_TYPE_AW(CABINET_INFO);
249 DECL_WINELIB_SETUPAPI_TYPE_AW(PCABINET_INFO);
251 typedef struct _SP_INF_INFORMATION {
252 DWORD InfStyle;
253 DWORD InfCount;
254 BYTE VersionData[ANYSIZE_ARRAY];
255 } SP_INF_INFORMATION, *PSP_INF_INFORMATION;
257 #define INF_STYLE_NONE 0x00
258 #define INF_STYLE_OLDNT 0x01
259 #define INF_STYLE_WIN4 0x02
260 #define INF_STYLE_CACHE_ENABLE 0x10
261 #define INF_STYLE_CACHE_DISABLE 0x20
263 #define FILEOP_COPY 0
264 #define FILEOP_RENAME 1
265 #define FILEOP_DELETE 2
266 #define FILEOP_BACKUP 3
268 #define FILEOP_ABORT 0
269 #define FILEOP_DOIT 1
270 #define FILEOP_SKIP 2
271 #define FILEOP_RETRY FILEOP_DOIT
272 #define FILEOP_NEWPATH 4
274 typedef struct _FILEPATHS_A
276 PCSTR Target;
277 PCSTR Source;
278 UINT Win32Error;
279 DWORD Flags;
280 } FILEPATHS_A, *PFILEPATHS_A;
282 typedef struct _FILEPATHS_W
284 PCWSTR Target;
285 PCWSTR Source;
286 UINT Win32Error;
287 DWORD Flags;
288 } FILEPATHS_W, *PFILEPATHS_W;
290 DECL_WINELIB_SETUPAPI_TYPE_AW(FILEPATHS)
291 DECL_WINELIB_SETUPAPI_TYPE_AW(PFILEPATHS)
293 #define SPFILENOTIFY_STARTQUEUE 0x0001
294 #define SPFILENOTIFY_ENDQUEUE 0x0002
295 #define SPFILENOTIFY_STARTSUBQUEUE 0x0003
296 #define SPFILENOTIFY_ENDSUBQUEUE 0x0004
297 #define SPFILENOTIFY_STARTDELETE 0x0005
298 #define SPFILENOTIFY_ENDDELETE 0x0006
299 #define SPFILENOTIFY_DELETEERROR 0x0007
300 #define SPFILENOTIFY_STARTRENAME 0x0008
301 #define SPFILENOTIFY_ENDRENAME 0x0009
302 #define SPFILENOTIFY_RENAMEERROR 0x000a
303 #define SPFILENOTIFY_STARTCOPY 0x000b
304 #define SPFILENOTIFY_ENDCOPY 0x000c
305 #define SPFILENOTIFY_COPYERROR 0x000d
306 #define SPFILENOTIFY_NEEDMEDIA 0x000e
307 #define SPFILENOTIFY_QUEUESCAN 0x000f
308 #define SPFILENOTIFY_CABINETINFO 0x0010
309 #define SPFILENOTIFY_FILEINCABINET 0x0011
310 #define SPFILENOTIFY_NEEDNEWCABINET 0x0012
311 #define SPFILENOTIFY_FILEEXTRACTED 0x0013
312 #define SPFILENOTIFY_FILEOPDELAYED 0x0014
313 #define SPFILENOTIFY_STARTBACKUP 0x0015
314 #define SPFILENOTIFY_BACKUPERROR 0x0016
315 #define SPFILENOTIFY_ENDBACKUP 0x0017
316 #define SPFILENOTIFY_QUEUESCAN_EX 0x0018
317 #define SPFILENOTIFY_STARTREGISTRATION 0x0019
318 #define SPFILENOTIFY_ENDREGISTRATION 0x0020
319 #define SPFILENOTIFY_QUEUESCAN_SIGNERINFO 0x0040
321 #define SPFILENOTIFY_LANGMISMATCH 0x00010000
322 #define SPFILENOTIFY_TARGETEXISTS 0x00020000
323 #define SPFILENOTIFY_TARGETNEWER 0x00040000
325 #define SPINST_LOGCONFIG 0x00000001
326 #define SPINST_INIFILES 0x00000002
327 #define SPINST_REGISTRY 0x00000004
328 #define SPINST_INI2REG 0x00000008
329 #define SPINST_FILES 0x00000010
330 #define SPINST_BITREG 0x00000020
331 #define SPINST_REGSVR 0x00000040
332 #define SPINST_UNREGSVR 0x00000080
333 #define SPINST_PROFILEITEMS 0x00000100
334 #define SPINST_COPYINF 0x00000200
335 #define SPINST_ALL 0x000003ff
336 #define SPINST_SINGLESECTION 0x00010000
337 #define SPINST_LOGCONFIG_IS_FORCED 0x00020000
338 #define SPINST_LOGCONFIGS_ARE_OVERRIDES 0x00040000
339 #define SPINST_REGISTERCALLBACKAWARE 0x00080000
341 #define SP_COPY_DELETESOURCE 0x00000001
342 #define SP_COPY_REPLACEONLY 0x00000002
343 #define SP_COPY_NEWER 0x00000004
344 #define SP_COPY_NEWER_OR_SAME SP_COPY_NEWER
345 #define SP_COPY_NOOVERWRITE 0x00000008
346 #define SP_COPY_NODECOMP 0x00000010
347 #define SP_COPY_LANGUAGEAWARE 0x00000020
348 #define SP_COPY_SOURCE_ABSOLUTE 0x00000040
349 #define SP_COPY_SOURCEPATH_ABSOLUTE 0x00000080
350 #define SP_COPY_IN_USE_NEEDS_REBOOT 0x00000100
351 #define SP_COPY_FORCE_IN_USE 0x00000200
352 #define SP_COPY_NOSKIP 0x00000400
353 #define SP_FLAG_CABINETCONTINUATION 0x00000800
354 #define SP_COPY_FORCE_NOOVERWRITE 0x00001000
355 #define SP_COPY_FORCE_NEWER 0x00002000
356 #define SP_COPY_WARNIFSKIP 0x00004000
357 #define SP_COPY_NOBROWSE 0x00008000
358 #define SP_COPY_NEWER_ONLY 0x00010000
359 #define SP_COPY_SOURCE_SIS_MASTER 0x00020000
360 #define SP_COPY_OEMINF_CATALOG_ONLY 0x00040000
361 #define SP_COPY_REPLACE_BOOT_FILE 0x00080000
362 #define SP_COPY_NOPRUNE 0x00100000
363 #define SP_COPY_OEM_F6_INF 0x00200000
365 #define FLG_ADDREG_DELREG_BIT 0x00008000
366 #define FLG_ADDREG_BINVALUETYPE 0x00000001
367 #define FLG_ADDREG_NOCLOBBER 0x00000002
368 #define FLG_ADDREG_DELVAL 0x00000004
369 #define FLG_ADDREG_APPEND 0x00000008
370 #define FLG_ADDREG_KEYONLY 0x00000010
371 #define FLG_ADDREG_OVERWRITEONLY 0x00000020
372 #define FLG_ADDREG_64BITKEY 0x00001000
373 #define FLG_ADDREG_KEYONLY_COMMON 0x00002000
374 #define FLG_ADDREG_32BITKEY 0x00004000
375 #define FLG_ADDREG_TYPE_SZ 0x00000000
376 #define FLG_ADDREG_TYPE_MULTI_SZ 0x00010000
377 #define FLG_ADDREG_TYPE_EXPAND_SZ 0x00020000
378 #define FLG_ADDREG_TYPE_BINARY (0x00000000 | FLG_ADDREG_BINVALUETYPE)
379 #define FLG_ADDREG_TYPE_DWORD (0x00010000 | FLG_ADDREG_BINVALUETYPE)
380 #define FLG_ADDREG_TYPE_NONE (0x00020000 | FLG_ADDREG_BINVALUETYPE)
381 #define FLG_ADDREG_TYPE_MASK (0xFFFF0000 | FLG_ADDREG_BINVALUETYPE)
383 #define FLG_DELREG_VALUE (0x00000000)
384 #define FLG_DELREG_TYPE_MASK FLG_ADDREG_TYPE_MASK
385 #define FLG_DELREG_TYPE_SZ FLG_ADDREG_TYPE_SZ
386 #define FLG_DELREG_TYPE_MULTI_SZ FLG_ADDREG_TYPE_MULTI_SZ
387 #define FLG_DELREG_TYPE_EXPAND_SZ FLG_ADDREG_TYPE_EXPAND_SZ
388 #define FLG_DELREG_TYPE_BINARY FLG_ADDREG_TYPE_BINARY
389 #define FLG_DELREG_TYPE_DWORD FLG_ADDREG_TYPE_DWORD
390 #define FLG_DELREG_TYPE_NONE FLG_ADDREG_TYPE_NONE
391 #define FLG_DELREG_64BITKEY FLG_ADDREG_64BITKEY
392 #define FLG_DELREG_KEYONLY_COMMON FLG_ADDREG_KEYONLY_COMMON
393 #define FLG_DELREG_32BITKEY FLG_ADDREG_32BITKEY
394 #define FLG_DELREG_OPERATION_MASK (0x000000FE)
395 #define FLG_DELREG_MULTI_SZ_DELSTRING (FLG_DELREG_TYPE_MULTI_SZ | FLG_ADDREG_DELREG_BIT | 0x00000002)
397 #define FLG_REGSVR_DLLREGISTER 0x00000001
398 #define FLG_REGSVR_DLLINSTALL 0x00000002
400 /* Class installer function codes */
401 #define DIF_SELECTDEVICE 0x01
402 #define DIF_INSTALLDEVICE 0x02
403 #define DIF_ASSIGNRESOURCES 0x03
404 #define DIF_PROPERTIES 0x04
405 #define DIF_REMOVE 0x05
406 #define DIF_FIRSTTIMESETUP 0x06
407 #define DIF_FOUNDDEVICE 0x07
408 #define DIF_SELECTCLASSDRIVERS 0x08
409 #define DIF_VALIDATECLASSDRIVERS 0x09
410 #define DIF_INSTALLCLASSDRIVERS 0x0a
411 #define DIF_CALCDISKSPACE 0x0b
412 #define DIF_DESTROYPRIVATEDATA 0x0c
413 #define DIF_VALIDATEDRIVER 0x0d
414 #define DIF_MOVEDEVICE 0x0e
415 #define DIF_DETECT 0x0f
416 #define DIF_INSTALLWIZARD 0x10
417 #define DIF_DESTROYWIZARDDATA 0x11
418 #define DIF_PROPERTYCHANGE 0x12
419 #define DIF_ENABLECLASS 0x13
420 #define DIF_DETECTVERIFY 0x14
421 #define DIF_INSTALLDEVICEFILES 0x15
422 #define DIF_UNREMOVE 0x16
423 #define DIF_SELECTBESTCOMPATDRV 0x17
424 #define DIF_ALLOW_INSTALL 0x18
425 #define DIF_REGISTERDEVICE 0x19
426 #define DIF_NEWDEVICEWIZARD_PRESELECT 0x1a
427 #define DIF_NEWDEVICEWIZARD_SELECT 0x1b
428 #define DIF_NEWDEVICEWIZARD_PREANALYZE 0x1c
429 #define DIF_NEWDEVICEWIZARD_POSTANALYZE 0x1d
430 #define DIF_NEWDEVICEWIZARD_FINISHINSTALL 0x1e
431 #define DIF_UNUSED1 0x1f
432 #define DIF_INSTALLINTERFACES 0x20
433 #define DIF_DETECTCANCEL 0x21
434 #define DIF_REGISTER_COINSTALLERS 0x22
435 #define DIF_ADDPROPERTYPAGE_ADVANCED 0x23
436 #define DIF_ADDPROPERTYPAGE_BASIC 0x24
437 #define DIF_RESERVED1 0x25
438 #define DIF_TROUBLESHOOTER 0x26
439 #define DIF_POWERMESSAGEWAKE 0x27
440 #define DIF_ADDREMOTEPROPERTYPAGE_ADVANCED 0x28
441 #define DIF_UPDATEDRIVER_UI 0x29
442 #define DIF_RESERVED2 0x30
444 /* Directory ids */
445 #define DIRID_ABSOLUTE (-1)
446 #define DIRID_ABSOLUTE_16BIT 0xffff
447 #define DIRID_NULL 0
448 #define DIRID_SRCPATH 1
449 #define DIRID_WINDOWS 10
450 #define DIRID_SYSTEM 11
451 #define DIRID_DRIVERS 12
452 #define DIRID_IOSUBSYS DIRID_DRIVERS
453 #define DIRID_INF 17
454 #define DIRID_HELP 18
455 #define DIRID_FONTS 20
456 #define DIRID_VIEWERS 21
457 #define DIRID_COLOR 23
458 #define DIRID_APPS 24
459 #define DIRID_SHARED 25
460 #define DIRID_BOOT 30
461 #define DIRID_SYSTEM16 50
462 #define DIRID_SPOOL 51
463 #define DIRID_SPOOLDRIVERS 52
464 #define DIRID_USERPROFILE 53
465 #define DIRID_LOADER 54
466 #define DIRID_PRINTPROCESSOR 55
467 #define DIRID_DEFAULT DIRID_SYSTEM
469 #define DIRID_COMMON_STARTMENU 16406
470 #define DIRID_COMMON_PROGRAMS 16407
471 #define DIRID_COMMON_STARTUP 16408
472 #define DIRID_COMMON_DESKTOPDIRECTORY 16409
473 #define DIRID_COMMON_FAVORITES 16415
474 #define DIRID_COMMON_APPDATA 16419
475 #define DIRID_PROGRAM_FILES 16422
476 #define DIRID_SYSTEM_X86 16425
477 #define DIRID_PROGRAM_FILES_X86 16426
478 #define DIRID_PROGRAM_FILES_COMMON 16427
479 #define DIRID_PROGRAM_FILES_COMMONX86 16428
480 #define DIRID_COMMON_TEMPLATES 16429
481 #define DIRID_COMMON_DOCUMENTS 16430
483 #define DIRID_USER 0x8000
486 /* Error code */
488 #define ERROR_EXPECTED_SECTION_NAME (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0)
489 #define ERROR_BAD_SECTION_NAME_LINE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|1)
490 #define ERROR_SECTION_NAME_TOO_LONG (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|2)
491 #define ERROR_GENERAL_SYNTAX (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|3)
492 #define ERROR_WRONG_INF_STYLE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x100)
493 #define ERROR_SECTION_NOT_FOUND (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x101)
494 #define ERROR_LINE_NOT_FOUND (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x102)
495 #define ERROR_NO_BACKUP (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x103)
496 #define ERROR_NO_ASSOCIATED_CLASS (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x200)
497 #define ERROR_CLASS_MISMATCH (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x201)
498 #define ERROR_DUPLICATE_FOUND (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x202)
499 #define ERROR_NO_DRIVER_SELECTED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x203)
500 #define ERROR_KEY_DOES_NOT_EXIST (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x204)
501 #define ERROR_INVALID_DEVINST_NAME (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x205)
502 #define ERROR_INVALID_CLASS (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x206)
503 #define ERROR_DEVINST_ALREADY_EXISTS (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x207)
504 #define ERROR_DEVINFO_NOT_REGISTERED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x208)
505 #define ERROR_INVALID_REG_PROPERTY (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x209)
506 #define ERROR_NO_INF (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20A)
507 #define ERROR_NO_SUCH_DEVINST (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20B)
508 #define ERROR_CANT_LOAD_CLASS_ICON (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20C)
509 #define ERROR_INVALID_CLASS_INSTALLER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20D)
510 #define ERROR_DI_DO_DEFAULT (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20E)
511 #define ERROR_DI_NOFILECOPY (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20F)
512 #define ERROR_INVALID_HWPROFILE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x210)
513 #define ERROR_NO_DEVICE_SELECTED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x211)
514 #define ERROR_DEVINFO_LIST_LOCKED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x212)
515 #define ERROR_DEVINFO_DATA_LOCKED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x213)
516 #define ERROR_DI_BAD_PATH (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x214)
517 #define ERROR_NO_CLASSINSTALL_PARAMS (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x215)
518 #define ERROR_FILEQUEUE_LOCKED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x216)
519 #define ERROR_BAD_SERVICE_INSTALLSECT (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x217)
520 #define ERROR_NO_CLASS_DRIVER_LIST (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x218)
521 #define ERROR_NO_ASSOCIATED_SERVICE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x219)
522 #define ERROR_NO_DEFAULT_DEVICE_INTERFACE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21A)
523 #define ERROR_DEVICE_INTERFACE_ACTIVE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21B)
524 #define ERROR_DEVICE_INTERFACE_REMOVED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21C)
525 #define ERROR_BAD_INTERFACE_INSTALLSECT (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21D)
526 #define ERROR_NO_SUCH_INTERFACE_CLASS (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21E)
527 #define ERROR_INVALID_REFERENCE_STRING (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21F)
528 #define ERROR_INVALID_MACHINENAME (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x220)
529 #define ERROR_REMOTE_COMM_FAILURE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x221)
530 #define ERROR_MACHINE_UNAVAILABLE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x222)
531 #define ERROR_NO_CONFIGMGR_SERVICES (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x223)
532 #define ERROR_INVALID_PROPPAGE_PROVIDER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x224)
533 #define ERROR_NO_SUCH_DEVICE_INTERFACE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x225)
534 #define ERROR_DI_POSTPROCESSING_REQUIRED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x226)
535 #define ERROR_INVALID_COINSTALLER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x227)
536 #define ERROR_NO_COMPAT_DRIVERS (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x228)
537 #define ERROR_NO_DEVICE_ICON (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x229)
538 #define ERROR_INVALID_INF_LOGCONFIG (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22A)
539 #define ERROR_DI_DONT_INSTALL (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22B)
540 #define ERROR_INVALID_FILTER_DRIVER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22C)
541 #define ERROR_NON_WINDOWS_NT_DRIVER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22D)
542 #define ERROR_NON_WINDOWS_DRIVER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22E)
543 #define ERROR_NO_CATALOG_FOR_OEM_INF (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22F)
544 #define ERROR_DEVINSTALL_QUEUE_NONNATIVE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x230)
545 #define ERROR_NOT_DISABLEABLE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x231)
546 #define ERROR_CANT_REMOVE_DEVINST (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x232)
547 #define ERROR_INVALID_TARGET (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x233)
548 #define ERROR_DRIVER_NONNATIVE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x234)
549 #define ERROR_IN_WOW64 (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x235)
550 #define ERROR_SET_SYSTEM_RESTORE_POINT (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x236)
551 #define ERROR_INCORRECTLY_COPIED_INF (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x237)
552 #define ERROR_SCE_DISABLED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x238)
553 #define ERROR_NO_DEFAULT_INTERFACE_DEVICE ERROR_NO_DEFAULT_DEVICE_INTERFACE
554 #define ERROR_INTERFACE_DEVICE_ACTIVE ERROR_DEVICE_INTERFACE_ACTIVE
555 #define ERROR_INTERFACE_DEVICE_REMOVED ERROR_DEVICE_INTERFACE_REMOVED
556 #define ERROR_NO_SUCH_INTERFACE_DEVICE ERROR_NO_SUCH_DEVICE_INTERFACE
557 #define ERROR_NOT_INSTALLED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x1000)
559 /* flags for SetupDiGetClassDevs */
560 #define DIGCF_DEFAULT 0x00000001
561 #define DIGCF_PRESENT 0x00000002
562 #define DIGCF_ALLCLASSES 0x00000004
563 #define DIGCF_PROFILE 0x00000008
564 #define DIGCF_DEVICEINTERFACE 0x00000010
566 /* setup device registry property codes */
567 #define SPDRP_DEVICEDESC 0x00000000
568 #define SPDRP_HARDWAREID 0x00000001
569 #define SPDRP_COMPATIBLEIDS 0x00000002
570 #define SPDRP_UNUSED0 0x00000003
571 #define SPDRP_SERVICE 0x00000004
572 #define SPDRP_UNUSED1 0x00000005
573 #define SPDRP_UNUSED2 0x00000006
574 #define SPDRP_CLASS 0x00000007
575 #define SPDRP_CLASSGUID 0x00000008
576 #define SPDRP_DRIVER 0x00000009
577 #define SPDRP_CONFIGFLAGS 0x0000000a
578 #define SPDRP_MFG 0x0000000b
579 #define SPDRP_FRIENDLYNAME 0x0000000c
580 #define SPDRP_LOCATION_INFORMATION 0x0000000d
581 #define SPDRP_PHYSICAL_DEVICE_OBJECT_NAME 0x0000000e
582 #define SPDRP_CAPABILITIES 0x0000000f
583 #define SPDRP_UI_NUMBER 0x00000010
584 #define SPDRP_UPPERFILTERS 0x00000011
585 #define SPDRP_LOWERFILTERS 0x00000012
586 #define SPDRP_BUSTYPEGUID 0x00000013
587 #define SPDRP_LEGACYBUSTYPE 0x00000014
588 #define SPDRP_BUSNUMBER 0x00000015
589 #define SPDRP_ENUMERATOR_NAME 0x00000016
590 #define SPDRP_SECURITY 0x00000017
591 #define SPDRP_SECURITY_SDS 0x00000018
592 #define SPDRP_DEVTYPE 0x00000019
593 #define SPDRP_EXCLUSIVE 0x0000001a
594 #define SPDRP_CHARACTERISTICS 0x0000001b
595 #define SPDRP_ADDRESS 0x0000001c
596 #define SPDRP_UI_NUMBER_DESC_FORMAT 0x0000001d
597 #define SPDRP_DEVICE_POWER_DATA 0x0000001e
598 #define SPDRP_REMOVAL_POLICY 0x0000001f
599 #define SPDRP_REMOVAL_POLICY_HW_DEFAULT 0x00000020
600 #define SPDRP_REMOVAL_POLICY_OVERRIDE 0x00000021
601 #define SPDRP_INSTALL_STATE 0x00000022
602 #define SPDRP_MAXIMUM_PROPERTY 0x00000023
604 void WINAPI InstallHinfSectionA( HWND hwnd, HINSTANCE handle, LPCSTR cmdline, INT show );
605 void WINAPI InstallHinfSectionW( HWND hwnd, HINSTANCE handle, LPCWSTR cmdline, INT show );
606 #define InstallHinfSection WINELIB_NAME_AW(InstallHinfSection)
607 HINF WINAPI SetupOpenInfFileA( PCSTR name, PCSTR pszclass, DWORD style, UINT *error );
608 HINF WINAPI SetupOpenInfFileW( PCWSTR name, PCWSTR pszclass, DWORD style, UINT *error );
609 #define SetupOpenInfFile WINELIB_NAME_AW(SetupOpenInfFile)
610 BOOL WINAPI SetupOpenAppendInfFileA( PCSTR, HINF, UINT * );
611 BOOL WINAPI SetupOpenAppendInfFileW( PCWSTR, HINF, UINT * );
612 #define SetupOpenAppendInfFile WINELIB_NAME_AW(SetupOpenAppendInfFile)
613 void WINAPI SetupCloseInfFile( HINF hinf );
614 BOOL WINAPI SetupGetLineByIndexA( HINF, PCSTR, DWORD, INFCONTEXT * );
615 BOOL WINAPI SetupGetLineByIndexW( HINF, PCWSTR, DWORD, INFCONTEXT * );
616 #define SetupGetLineByIndex WINELIB_NAME_AW(SetupGetLineByIndex)
617 LONG WINAPI SetupGetLineCountA( HINF hinf, PCSTR section );
618 LONG WINAPI SetupGetLineCountW( HINF hinf, PCWSTR section );
619 #define SetupGetLineCount WINELIB_NAME_AW(SetupGetLineCount)
620 BOOL WINAPI SetupFindFirstLineA( HINF hinf, PCSTR section, PCSTR key, INFCONTEXT *context );
621 BOOL WINAPI SetupFindFirstLineW( HINF hinf, PCWSTR section, PCWSTR key, INFCONTEXT *context );
622 #define SetupFindFirstLine WINELIB_NAME_AW(SetupFindFirstLine)
623 BOOL WINAPI SetupFindNextLine( PINFCONTEXT context_in, PINFCONTEXT context_out );
624 BOOL WINAPI SetupFindNextMatchLineA( PINFCONTEXT context_in, PCSTR key, PINFCONTEXT context_out );
625 BOOL WINAPI SetupFindNextMatchLineW( PINFCONTEXT context_in, PCWSTR key, PINFCONTEXT context_out );
626 #define SetupFindNextMatchLine WINELIB_NAME_AW(SetupFindNextMatchLine)
627 BOOL WINAPI SetupGetLineTextA( PINFCONTEXT context, HINF hinf, PCSTR section_name,PCSTR key_name, PSTR buffer, DWORD size, PDWORD required );
628 BOOL WINAPI SetupGetLineTextW( PINFCONTEXT context, HINF hinf, PCWSTR section_name, PCWSTR key_name, PWSTR buffer, DWORD size, PDWORD required );
629 #define SetupGetLineText WINELIB_NAME_AW(SetupGetLineText)
630 DWORD WINAPI SetupGetFieldCount( PINFCONTEXT context );
631 BOOL WINAPI SetupGetIntField( PINFCONTEXT context, DWORD index, PINT result );
632 BOOL WINAPI SetupGetStringFieldA( PINFCONTEXT context, DWORD index, PSTR buffer, DWORD size, PDWORD required );
633 BOOL WINAPI SetupGetStringFieldW( PINFCONTEXT context, DWORD index, PWSTR buffer, DWORD size, PDWORD required );
634 #define SetupGetStringField WINELIB_NAME_AW(SetupGetStringField)
635 BOOL WINAPI SetupGetBinaryField( PINFCONTEXT context, DWORD index, BYTE *buffer, DWORD size, LPDWORD required );
636 BOOL WINAPI SetupGetMultiSzFieldA( PINFCONTEXT context, DWORD index, PSTR buffer, DWORD size, LPDWORD required );
637 BOOL WINAPI SetupGetMultiSzFieldW( PINFCONTEXT context, DWORD index, PWSTR buffer, DWORD size, LPDWORD required );
638 #define SetupGetMultiSzField WINELIB_NAME_AW(SetupGetMultiSzField)
639 BOOL WINAPI SetupSetDirectoryIdA( HINF, DWORD, PCSTR );
640 BOOL WINAPI SetupSetDirectoryIdW( HINF, DWORD, PCWSTR );
641 #define SetupSetDirectoryId WINELIB_NAME_AW(SetupSetDirectoryId)
642 HSPFILEQ WINAPI SetupOpenFileQueue(void);
643 BOOL WINAPI SetupCloseFileQueue( HSPFILEQ );
644 BOOL WINAPI SetupSetFileQueueAlternatePlatformA( HSPFILEQ, PSP_ALTPLATFORM_INFO, PCSTR );
645 BOOL WINAPI SetupSetFileQueueAlternatePlatformW( HSPFILEQ, PSP_ALTPLATFORM_INFO, PCWSTR );
646 #define SetupSetFileQueueAlternatePlatform WINELIB_NAME_AW(SetupSetFileQueueAlternatePlatform)
647 BOOL WINAPI SetupQueueCopyA(HSPFILEQ,PCSTR,PCSTR,PCSTR,PCSTR,PCSTR,PCSTR,PCSTR,DWORD);
648 BOOL WINAPI SetupQueueCopyW(HSPFILEQ,PCWSTR,PCWSTR,PCWSTR,PCWSTR,PCWSTR,PCWSTR,PCWSTR,DWORD);
649 #define SetupQueueCopy WINELIB_NAME_AW(SetupQueueCopy)
650 BOOL WINAPI SetupQueueCopyIndirectA( PSP_FILE_COPY_PARAMS_A );
651 BOOL WINAPI SetupQueueCopyIndirectW( PSP_FILE_COPY_PARAMS_W );
652 #define SetupQueueCopyIndirect WINELIB_NAME_AW(SetupQueueCopyIndirect)
653 BOOL WINAPI SetupQueueDefaultCopyA( HSPFILEQ, HINF, PCSTR, PCSTR, PCSTR, DWORD );
654 BOOL WINAPI SetupQueueDefaultCopyW( HSPFILEQ, HINF, PCWSTR, PCWSTR, PCWSTR, DWORD );
655 #define SetupQueueDefaultCopy WINELIB_NAME_AW(SetupQueueDefaultCopy)
656 BOOL WINAPI SetupQueueDeleteA( HSPFILEQ, PCSTR, PCSTR );
657 BOOL WINAPI SetupQueueDeleteW( HSPFILEQ, PCWSTR, PCWSTR );
658 #define SetupQueueDelete WINELIB_NAME_AW(SetupQueueDelete)
659 BOOL WINAPI SetupQueueRenameA( HSPFILEQ, PCSTR, PCSTR, PCSTR, PCSTR );
660 BOOL WINAPI SetupQueueRenameW( HSPFILEQ, PCWSTR, PCWSTR, PCWSTR, PCWSTR );
661 #define SetupQueueRename WINELIB_NAME_AW(SetupQueueRename)
662 BOOL WINAPI SetupCommitFileQueueA( HWND, HSPFILEQ, PSP_FILE_CALLBACK_A, PVOID );
663 BOOL WINAPI SetupCommitFileQueueW( HWND, HSPFILEQ, PSP_FILE_CALLBACK_W, PVOID );
664 #define SetupCommitFileQueue WINELIB_NAME_AW(SetupCommitFileQueue)
665 BOOL WINAPI SetupScanFileQueueA( HSPFILEQ, DWORD, HWND, PSP_FILE_CALLBACK_A, PVOID, PDWORD );
666 BOOL WINAPI SetupScanFileQueueW( HSPFILEQ, DWORD, HWND, PSP_FILE_CALLBACK_W, PVOID, PDWORD );
667 #define SetupScanFileQueue WINELIB_NAME_AW(SetupScanFileQueue)
668 BOOL WINAPI SetupGetFileQueueCount( HSPFILEQ, UINT, PUINT );
669 BOOL WINAPI SetupGetFileQueueFlags( HSPFILEQ, PDWORD );
670 BOOL WINAPI SetupSetFileQueueFlags( HSPFILEQ, DWORD, DWORD );
671 BOOL WINAPI SetupQueueCopySectionA( HSPFILEQ, PCSTR, HINF, HINF, PCSTR, DWORD );
672 BOOL WINAPI SetupQueueCopySectionW( HSPFILEQ, PCWSTR, HINF, HINF, PCWSTR, DWORD );
673 #define SetupQueueCopySection WINELIB_NAME_AW(SetupQueueCopySection)
674 BOOL WINAPI SetupQueueDeleteSectionA( HSPFILEQ, HINF, HINF, PCSTR );
675 BOOL WINAPI SetupQueueDeleteSectionW( HSPFILEQ, HINF, HINF, PCWSTR );
676 #define SetupQueueDeleteSection WINELIB_NAME_AW(SetupQueueDeleteSection)
677 BOOL WINAPI SetupQueueRenameSectionA( HSPFILEQ, HINF, HINF, PCSTR );
678 BOOL WINAPI SetupQueueRenameSectionW( HSPFILEQ, HINF, HINF, PCWSTR );
679 #define SetupQueueRenameSection WINELIB_NAME_AW(SetupQueueRenameSection)
680 PVOID WINAPI SetupInitDefaultQueueCallback( HWND );
681 PVOID WINAPI SetupInitDefaultQueueCallbackEx( HWND, HWND, UINT, DWORD, PVOID );
682 void WINAPI SetupTermDefaultQueueCallback( PVOID );
683 UINT WINAPI SetupDefaultQueueCallbackA( PVOID, UINT, UINT_PTR, UINT_PTR );
684 UINT WINAPI SetupDefaultQueueCallbackW( PVOID, UINT, UINT_PTR, UINT_PTR );
685 #define SetupDefaultQueueCallback WINELIB_NAME_AW(SetupDefaultQueueCallback)
686 BOOL WINAPI SetupDiDestroyDeviceInfoList(HDEVINFO);
687 BOOL WINAPI SetupDiEnumDeviceInterfaces(HDEVINFO, PSP_DEVINFO_DATA, const GUID *, DWORD, PSP_DEVICE_INTERFACE_DATA);
688 HDEVINFO WINAPI SetupDiGetClassDevsA(CONST GUID *,LPCSTR,HWND,DWORD);
689 HDEVINFO WINAPI SetupDiGetClassDevsW(CONST GUID *,LPCWSTR,HWND,DWORD);
690 #define SetupDiGetClassDevs WINELIB_NAME_AW(SetupDiGetClassDevs)
691 BOOL WINAPI SetupDiGetDeviceInterfaceDetailA(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, PSP_DEVICE_INTERFACE_DETAIL_DATA_A,
692 DWORD, PDWORD, PSP_DEVINFO_DATA);
693 BOOL WINAPI SetupDiGetDeviceInterfaceDetailW(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, PSP_DEVICE_INTERFACE_DETAIL_DATA_W,
694 DWORD, PDWORD, PSP_DEVINFO_DATA);
695 #define SetupDiGetDeviceInterfaceDetail WINELIB_NAME_AW(SetupDiGetDeviceInterfaceDetail)
696 BOOL WINAPI SetupDiGetDeviceRegistryPropertyA(HDEVINFO, PSP_DEVINFO_DATA, DWORD, PDWORD, PBYTE, DWORD, PDWORD);
697 BOOL WINAPI SetupInstallFilesFromInfSectionA( HINF, HINF, HSPFILEQ, PCSTR, PCSTR, UINT );
698 BOOL WINAPI SetupInstallFilesFromInfSectionW( HINF, HINF, HSPFILEQ, PCWSTR, PCWSTR, UINT );
699 #define SetupInstallFilesFromInfSection WINELIB_NAME_AW(SetupInstallFilesFromInfSection)
700 BOOL WINAPI SetupInstallFromInfSectionA(HWND,HINF,PCSTR,UINT,HKEY,PCSTR,UINT,
701 PSP_FILE_CALLBACK_A,PVOID,HDEVINFO,PSP_DEVINFO_DATA);
702 BOOL WINAPI SetupInstallFromInfSectionW(HWND,HINF,PCWSTR,UINT,HKEY,PCWSTR,UINT,
703 PSP_FILE_CALLBACK_W,PVOID,HDEVINFO,PSP_DEVINFO_DATA);
704 #define SetupInstallFromInfSection WINELIB_NAME_AW(SetupInstallFromInfSection)
705 BOOL WINAPI SetupIterateCabinetA(PCSTR, DWORD, PSP_FILE_CALLBACK_A, PVOID);
706 BOOL WINAPI SetupIterateCabinetW(PCWSTR, DWORD, PSP_FILE_CALLBACK_W, PVOID);
707 #define SetupIterateCabinet WINELIB_NAME_AW(SetupIterateCabinet)
709 #undef DECL_WINELIB_SETUPAPI_TYPE_AW
711 #endif /* _INC_SETUPAPI */