gdiplus: Added GdipSetTextRenderingHint/GdipGetTextRenderingHint.
[wine] / include / setupapi.h
1 /*
2  * Copyright (C) 2000 James Hatheway
3  *
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.
8  *
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.
13  *
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18
19 #ifndef _INC_SETUPAPI
20 #define _INC_SETUPAPI
21
22 #include <commctrl.h>
23
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__ */
30
31 /* Define type for handle to a loaded inf file */
32 typedef PVOID HINF;
33
34 /* Define type for handle to a device information set */
35 typedef PVOID HDEVINFO;
36
37 /* Define type for setup file queue */
38 typedef PVOID HSPFILEQ;
39
40 typedef PVOID HDSKSPC;
41
42 /* inf structure. */
43 typedef struct _INFCONTEXT
44 {
45    PVOID Inf;
46    PVOID CurrentInf;
47    UINT  Section;
48    UINT  Line;
49 } INFCONTEXT, *PINFCONTEXT;
50
51 typedef struct _SP_ALTPLATFORM_INFO_V2
52 {
53     DWORD cbSize;
54     DWORD Platform;
55     DWORD MajorVersion;
56     DWORD MinorVersion;
57     WORD  ProcessorArchitecture;
58     union
59     {
60         WORD  Reserved;
61         WORD  Flags;
62     } DUMMYUNIONNAME;
63     DWORD FirstValidatedMajorVersion;
64     DWORD FirstValidatedMinorVersion;
65 } SP_ALTPLATFORM_INFO_V2, *PSP_ALTPLATFORM_INFO_V2;
66
67 #define SP_ALTPLATFORM_FLAGS_VERSION_RANGE 0x0001
68
69 typedef struct _SP_ALTPLATFORM_INFO_V1
70 {
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;
78
79 typedef SP_ALTPLATFORM_INFO_V2 SP_ALTPLATFORM_INFO;
80 typedef PSP_ALTPLATFORM_INFO_V2 PSP_ALTPLATFORM_INFO;
81
82 typedef struct _SP_FILE_COPY_PARAMS_A
83 {
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;
97
98 typedef struct _SP_FILE_COPY_PARAMS_W
99 {
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;
113
114 DECL_WINELIB_SETUPAPI_TYPE_AW(SP_FILE_COPY_PARAMS)
115 DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_FILE_COPY_PARAMS)
116
117 typedef struct _SP_REGISTER_CONTROL_STATUSA
118 {
119     DWORD    cbSize;
120     PCSTR    FileName;
121     DWORD    Win32Error;
122     DWORD    FailureCode;
123 } SP_REGISTER_CONTROL_STATUSA, *PSP_REGISTER_CONTROL_STATUSA;
124
125 typedef struct _SP_REGISTER_CONTROL_STATUSW
126 {
127     DWORD    cbSize;
128     PCWSTR   FileName;
129     DWORD    Win32Error;
130     DWORD    FailureCode;
131 } SP_REGISTER_CONTROL_STATUSW, *PSP_REGISTER_CONTROL_STATUSW;
132
133 DECL_WINELIB_TYPE_AW(SP_REGISTER_CONTROL_STATUS)
134 DECL_WINELIB_TYPE_AW(PSP_REGISTER_CONTROL_STATUS)
135
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
143
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)
149
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)
158
159 typedef UINT DI_FUNCTION;
160
161 typedef struct _SP_CLASSINSTALL_HEADER
162 {
163   DWORD       cbSize;
164   DI_FUNCTION InstallFunction;
165 } SP_CLASSINSTALL_HEADER, *PSP_CLASSINSTALL_HEADER;
166
167 typedef struct _SP_PROPCHANGE_PARAMS
168 {
169   SP_CLASSINSTALL_HEADER  ClassInstallHeader;
170   DWORD  StateChange;
171   DWORD  Scope;
172   DWORD  HwProfile;
173 } SP_PROPCHANGE_PARAMS, *PSP_PROPCHANGE_PARAMS;
174
175 #define DICS_ENABLE      0x00000001
176 #define DICS_DISABLE     0x00000002
177 #define DICS_PROPCHANGE  0x00000003
178 #define DICS_START       0x00000004
179 #define DICS_STOP        0x00000005
180
181 typedef struct _SP_DEVINSTALL_PARAMS_A
182 {
183     DWORD               cbSize;
184     DWORD               Flags;
185     DWORD               FlagsEx;
186     HWND                hwndParent;
187     PSP_FILE_CALLBACK_A InstallMsgHandler;
188     PVOID               InstallMsgHandlerContext;
189     HSPFILEQ            FileQueue;
190     ULONG_PTR           ClassInstallReserved;
191     DWORD               Reserved;
192     CHAR                DriverPath[MAX_PATH];
193 } SP_DEVINSTALL_PARAMS_A, *PSP_DEVINSTALL_PARAMS_A;
194
195 typedef struct _SP_DEVINSTALL_PARAMS_W
196 {
197     DWORD               cbSize;
198     DWORD               Flags;
199     DWORD               FlagsEx;
200     HWND                hwndParent;
201     PSP_FILE_CALLBACK_W InstallMsgHandler;
202     PVOID               InstallMsgHandlerContext;
203     HSPFILEQ            FileQueue;
204     ULONG_PTR           ClassInstallReserved;
205     DWORD               Reserved;
206     WCHAR               DriverPath[MAX_PATH];
207 } SP_DEVINSTALL_PARAMS_W, *PSP_DEVINSTALL_PARAMS_W;
208
209 DECL_WINELIB_SETUPAPI_TYPE_AW(SP_DEVINSTALL_PARAMS)
210 DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_DEVINSTALL_PARAMS)
211
212 /* Device Information structure (references a device instance that is a member
213    of a device information set) */
214 typedef struct _SP_DEVINFO_DATA
215 {
216    DWORD cbSize;
217    GUID  ClassGuid;
218    DWORD DevInst;   /* DEVINST handle */
219    DWORD Reserved;
220 } SP_DEVINFO_DATA, *PSP_DEVINFO_DATA;
221
222 typedef struct _SP_DEVICE_INTERFACE_DATA
223 {
224    DWORD      cbSize;
225    GUID       InterfaceClassGuid;
226    DWORD      Flags;
227    ULONG_PTR  Reserved;
228 } SP_DEVICE_INTERFACE_DATA, *PSP_DEVICE_INTERFACE_DATA;
229
230 typedef struct _SP_DEVICE_INTERFACE_DETAIL_DATA_A
231 {
232    DWORD      cbSize;
233    CHAR       DevicePath[ANYSIZE_ARRAY];
234 } SP_DEVICE_INTERFACE_DETAIL_DATA_A, *PSP_DEVICE_INTERFACE_DETAIL_DATA_A;
235
236 typedef struct _SP_DEVICE_INTERFACE_DETAIL_DATA_W
237 {
238    DWORD      cbSize;
239    WCHAR      DevicePath[ANYSIZE_ARRAY];
240 } SP_DEVICE_INTERFACE_DETAIL_DATA_W, *PSP_DEVICE_INTERFACE_DETAIL_DATA_W;
241
242 DECL_WINELIB_SETUPAPI_TYPE_AW(SP_DEVICE_INTERFACE_DETAIL_DATA)
243 DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_DEVICE_INTERFACE_DETAIL_DATA)
244
245 typedef struct _SP_DEVINFO_LIST_DETAIL_DATA_A {
246     DWORD  cbSize;
247     GUID   ClassGuid;
248     HANDLE RemoteMachineHandle;
249     CHAR   RemoteMachineName[SP_MAX_MACHINENAME_LENGTH];
250 } SP_DEVINFO_LIST_DETAIL_DATA_A, *PSP_DEVINFO_LIST_DETAIL_DATA_A;
251
252 typedef struct _SP_DEVINFO_LIST_DETAIL_DATA_W {
253     DWORD  cbSize;
254     GUID   ClassGuid;
255     HANDLE RemoteMachineHandle;
256     WCHAR  RemoteMachineName[SP_MAX_MACHINENAME_LENGTH];
257 } SP_DEVINFO_LIST_DETAIL_DATA_W, *PSP_DEVINFO_LIST_DETAIL_DATA_W;
258
259 DECL_WINELIB_SETUPAPI_TYPE_AW(SP_DEVINFO_LIST_DETAIL_DATA)
260 DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_DEVINFO_LIST_DETAIL_DATA)
261
262 typedef struct _FILE_IN_CABINET_INFO_A {
263   LPCSTR NameInCabinet;
264   DWORD FileSize;
265   DWORD Win32Error;
266   WORD DosDate;
267   WORD DosTime;
268   WORD DosAttribs;
269   CHAR FullTargetName[MAX_PATH];
270 } FILE_IN_CABINET_INFO_A, *PFILE_IN_CABINET_INFO_A;
271
272 typedef struct _FILE_IN_CABINET_INFO_W {
273   LPCWSTR NameInCabinet;
274   DWORD FileSize;
275   DWORD Win32Error;
276   WORD DosDate;
277   WORD DosTime;
278   WORD DosAttribs;
279   WCHAR FullTargetName[MAX_PATH];
280 } FILE_IN_CABINET_INFO_W, *PFILE_IN_CABINET_INFO_W;
281
282 DECL_WINELIB_SETUPAPI_TYPE_AW(FILE_IN_CABINET_INFO)
283 DECL_WINELIB_SETUPAPI_TYPE_AW(PFILE_IN_CABINET_INFO)
284
285 typedef struct _CABINET_INFO_A {
286   PCSTR CabinetPath;
287   PCSTR CabinetFile;
288   PCSTR DiskName;
289   USHORT SetId;
290   USHORT CabinetNumber;
291 } CABINET_INFO_A, *PCABINET_INFO_A;
292
293 typedef struct _CABINET_INFO_W {
294   PCWSTR CabinetPath;
295   PCWSTR CabinetFile;
296   PCWSTR DiskName;
297   USHORT SetId;
298   USHORT CabinetNumber;
299 } CABINET_INFO_W, *PCABINET_INFO_W;
300
301 DECL_WINELIB_SETUPAPI_TYPE_AW(CABINET_INFO)
302 DECL_WINELIB_SETUPAPI_TYPE_AW(PCABINET_INFO)
303
304 typedef struct _SP_INF_INFORMATION {
305     DWORD InfStyle;
306     DWORD InfCount;
307     BYTE VersionData[ANYSIZE_ARRAY];
308 } SP_INF_INFORMATION, *PSP_INF_INFORMATION;
309
310 #define INF_STYLE_NONE           0x00
311 #define INF_STYLE_OLDNT          0x01
312 #define INF_STYLE_WIN4           0x02
313 #define INF_STYLE_CACHE_ENABLE   0x10
314 #define INF_STYLE_CACHE_DISABLE  0x20
315
316 #define FILEOP_COPY              0
317 #define FILEOP_RENAME            1
318 #define FILEOP_DELETE            2
319 #define FILEOP_BACKUP            3
320
321 #define FILEOP_ABORT             0
322 #define FILEOP_DOIT              1
323 #define FILEOP_SKIP              2
324 #define FILEOP_RETRY             FILEOP_DOIT
325 #define FILEOP_NEWPATH           4
326
327 typedef struct _FILEPATHS_A
328 {
329     PCSTR  Target;
330     PCSTR  Source;
331     UINT   Win32Error;
332     DWORD  Flags;
333 } FILEPATHS_A, *PFILEPATHS_A;
334
335 typedef struct _FILEPATHS_W
336 {
337     PCWSTR Target;
338     PCWSTR Source;
339     UINT   Win32Error;
340     DWORD  Flags;
341 } FILEPATHS_W, *PFILEPATHS_W;
342
343 DECL_WINELIB_SETUPAPI_TYPE_AW(FILEPATHS)
344 DECL_WINELIB_SETUPAPI_TYPE_AW(PFILEPATHS)
345
346 typedef struct _SP_ORIGINAL_FILE_INFO_A
347 {
348     DWORD cbSize;
349     CHAR  OriginalInfName[MAX_PATH];
350     CHAR  OriginalCatalogName[MAX_PATH];
351 } SP_ORIGINAL_FILE_INFO_A, *PSP_ORIGINAL_FILE_INFO_A;
352
353 typedef struct _SP_ORIGINAL_FILE_INFO_W
354 {
355     DWORD cbSize;
356     WCHAR  OriginalInfName[MAX_PATH];
357     WCHAR  OriginalCatalogName[MAX_PATH];
358 } SP_ORIGINAL_FILE_INFO_W, *PSP_ORIGINAL_FILE_INFO_W;
359
360 DECL_WINELIB_SETUPAPI_TYPE_AW(SP_ORIGINAL_FILE_INFO)
361 DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_ORIGINAL_FILE_INFO)
362
363 #define SPFILENOTIFY_STARTQUEUE           0x0001
364 #define SPFILENOTIFY_ENDQUEUE             0x0002
365 #define SPFILENOTIFY_STARTSUBQUEUE        0x0003
366 #define SPFILENOTIFY_ENDSUBQUEUE          0x0004
367 #define SPFILENOTIFY_STARTDELETE          0x0005
368 #define SPFILENOTIFY_ENDDELETE            0x0006
369 #define SPFILENOTIFY_DELETEERROR          0x0007
370 #define SPFILENOTIFY_STARTRENAME          0x0008
371 #define SPFILENOTIFY_ENDRENAME            0x0009
372 #define SPFILENOTIFY_RENAMEERROR          0x000a
373 #define SPFILENOTIFY_STARTCOPY            0x000b
374 #define SPFILENOTIFY_ENDCOPY              0x000c
375 #define SPFILENOTIFY_COPYERROR            0x000d
376 #define SPFILENOTIFY_NEEDMEDIA            0x000e
377 #define SPFILENOTIFY_QUEUESCAN            0x000f
378 #define SPFILENOTIFY_CABINETINFO          0x0010
379 #define SPFILENOTIFY_FILEINCABINET        0x0011
380 #define SPFILENOTIFY_NEEDNEWCABINET       0x0012
381 #define SPFILENOTIFY_FILEEXTRACTED        0x0013
382 #define SPFILENOTIFY_FILEOPDELAYED        0x0014
383 #define SPFILENOTIFY_STARTBACKUP          0x0015
384 #define SPFILENOTIFY_BACKUPERROR          0x0016
385 #define SPFILENOTIFY_ENDBACKUP            0x0017
386 #define SPFILENOTIFY_QUEUESCAN_EX         0x0018
387 #define SPFILENOTIFY_STARTREGISTRATION    0x0019
388 #define SPFILENOTIFY_ENDREGISTRATION      0x0020
389 #define SPFILENOTIFY_QUEUESCAN_SIGNERINFO 0x0040
390
391 #define SPFILENOTIFY_LANGMISMATCH         0x00010000
392 #define SPFILENOTIFY_TARGETEXISTS         0x00020000
393 #define SPFILENOTIFY_TARGETNEWER          0x00040000
394
395 #define SPINST_LOGCONFIG                  0x00000001
396 #define SPINST_INIFILES                   0x00000002
397 #define SPINST_REGISTRY                   0x00000004
398 #define SPINST_INI2REG                    0x00000008
399 #define SPINST_FILES                      0x00000010
400 #define SPINST_BITREG                     0x00000020
401 #define SPINST_REGSVR                     0x00000040
402 #define SPINST_UNREGSVR                   0x00000080
403 #define SPINST_PROFILEITEMS               0x00000100
404 #define SPINST_COPYINF                    0x00000200
405 #define SPINST_ALL                        0x000003ff
406 #define SPINST_SINGLESECTION              0x00010000
407 #define SPINST_LOGCONFIG_IS_FORCED        0x00020000
408 #define SPINST_LOGCONFIGS_ARE_OVERRIDES   0x00040000
409 #define SPINST_REGISTERCALLBACKAWARE      0x00080000
410
411 #define SP_COPY_DELETESOURCE              0x00000001
412 #define SP_COPY_REPLACEONLY               0x00000002
413 #define SP_COPY_NEWER                     0x00000004
414 #define SP_COPY_NEWER_OR_SAME             SP_COPY_NEWER
415 #define SP_COPY_NOOVERWRITE               0x00000008
416 #define SP_COPY_NODECOMP                  0x00000010
417 #define SP_COPY_LANGUAGEAWARE             0x00000020
418 #define SP_COPY_SOURCE_ABSOLUTE           0x00000040
419 #define SP_COPY_SOURCEPATH_ABSOLUTE       0x00000080
420 #define SP_COPY_IN_USE_NEEDS_REBOOT       0x00000100
421 #define SP_COPY_FORCE_IN_USE              0x00000200
422 #define SP_COPY_NOSKIP                    0x00000400
423 #define SP_FLAG_CABINETCONTINUATION       0x00000800
424 #define SP_COPY_FORCE_NOOVERWRITE         0x00001000
425 #define SP_COPY_FORCE_NEWER               0x00002000
426 #define SP_COPY_WARNIFSKIP                0x00004000
427 #define SP_COPY_NOBROWSE                  0x00008000
428 #define SP_COPY_NEWER_ONLY                0x00010000
429 #define SP_COPY_SOURCE_SIS_MASTER         0x00020000
430 #define SP_COPY_OEMINF_CATALOG_ONLY       0x00040000
431 #define SP_COPY_REPLACE_BOOT_FILE         0x00080000
432 #define SP_COPY_NOPRUNE                   0x00100000
433 #define SP_COPY_OEM_F6_INF                0x00200000
434
435 #define SPOST_NONE  0
436 #define SPOST_PATH  1
437 #define SPOST_URL   2
438 #define SPOST_MAX   3
439
440 #define SPQ_SCAN_FILE_PRESENCE            0x00000001
441 #define SPQ_SCAN_FILE_VALIDITY            0x00000002
442 #define SPQ_SCAN_USE_CALLBACK             0x00000004
443 #define SPQ_SCAN_USE_CALLBACKEX           0x00000008
444 #define SPQ_SCAN_INFORM_USER              0x00000010
445 #define SPQ_SCAN_PRUNE_COPY_QUEUE         0x00000020
446
447 #define FLG_ADDREG_DELREG_BIT             0x00008000
448 #define FLG_ADDREG_BINVALUETYPE           0x00000001
449 #define FLG_ADDREG_NOCLOBBER              0x00000002
450 #define FLG_ADDREG_DELVAL                 0x00000004
451 #define FLG_ADDREG_APPEND                 0x00000008
452 #define FLG_ADDREG_KEYONLY                0x00000010
453 #define FLG_ADDREG_OVERWRITEONLY          0x00000020
454 #define FLG_ADDREG_64BITKEY               0x00001000
455 #define FLG_ADDREG_KEYONLY_COMMON         0x00002000
456 #define FLG_ADDREG_32BITKEY               0x00004000
457 #define FLG_ADDREG_TYPE_SZ                0x00000000
458 #define FLG_ADDREG_TYPE_MULTI_SZ          0x00010000
459 #define FLG_ADDREG_TYPE_EXPAND_SZ         0x00020000
460 #define FLG_ADDREG_TYPE_BINARY           (0x00000000 | FLG_ADDREG_BINVALUETYPE)
461 #define FLG_ADDREG_TYPE_DWORD            (0x00010000 | FLG_ADDREG_BINVALUETYPE)
462 #define FLG_ADDREG_TYPE_NONE             (0x00020000 | FLG_ADDREG_BINVALUETYPE)
463 #define FLG_ADDREG_TYPE_MASK             (0xFFFF0000 | FLG_ADDREG_BINVALUETYPE)
464
465 #define FLG_DELREG_VALUE                 (0x00000000)
466 #define FLG_DELREG_TYPE_MASK             FLG_ADDREG_TYPE_MASK
467 #define FLG_DELREG_TYPE_SZ               FLG_ADDREG_TYPE_SZ
468 #define FLG_DELREG_TYPE_MULTI_SZ         FLG_ADDREG_TYPE_MULTI_SZ
469 #define FLG_DELREG_TYPE_EXPAND_SZ        FLG_ADDREG_TYPE_EXPAND_SZ
470 #define FLG_DELREG_TYPE_BINARY           FLG_ADDREG_TYPE_BINARY
471 #define FLG_DELREG_TYPE_DWORD            FLG_ADDREG_TYPE_DWORD
472 #define FLG_DELREG_TYPE_NONE             FLG_ADDREG_TYPE_NONE
473 #define FLG_DELREG_64BITKEY              FLG_ADDREG_64BITKEY
474 #define FLG_DELREG_KEYONLY_COMMON        FLG_ADDREG_KEYONLY_COMMON
475 #define FLG_DELREG_32BITKEY              FLG_ADDREG_32BITKEY
476 #define FLG_DELREG_OPERATION_MASK        (0x000000FE)
477 #define FLG_DELREG_MULTI_SZ_DELSTRING    (FLG_DELREG_TYPE_MULTI_SZ | FLG_ADDREG_DELREG_BIT | 0x00000002)
478
479 #define FLG_REGSVR_DLLREGISTER           0x00000001
480 #define FLG_REGSVR_DLLINSTALL            0x00000002
481
482 #define DI_NOVCP 0x00000008
483
484 /* Class installer function codes */
485 #define DIF_SELECTDEVICE                    0x01
486 #define DIF_INSTALLDEVICE                   0x02
487 #define DIF_ASSIGNRESOURCES                 0x03
488 #define DIF_PROPERTIES                      0x04
489 #define DIF_REMOVE                          0x05
490 #define DIF_FIRSTTIMESETUP                  0x06
491 #define DIF_FOUNDDEVICE                     0x07
492 #define DIF_SELECTCLASSDRIVERS              0x08
493 #define DIF_VALIDATECLASSDRIVERS            0x09
494 #define DIF_INSTALLCLASSDRIVERS             0x0a
495 #define DIF_CALCDISKSPACE                   0x0b
496 #define DIF_DESTROYPRIVATEDATA              0x0c
497 #define DIF_VALIDATEDRIVER                  0x0d
498 #define DIF_MOVEDEVICE                      0x0e
499 #define DIF_DETECT                          0x0f
500 #define DIF_INSTALLWIZARD                   0x10
501 #define DIF_DESTROYWIZARDDATA               0x11
502 #define DIF_PROPERTYCHANGE                  0x12
503 #define DIF_ENABLECLASS                     0x13
504 #define DIF_DETECTVERIFY                    0x14
505 #define DIF_INSTALLDEVICEFILES              0x15
506 #define DIF_UNREMOVE                        0x16
507 #define DIF_SELECTBESTCOMPATDRV             0x17
508 #define DIF_ALLOW_INSTALL                   0x18
509 #define DIF_REGISTERDEVICE                  0x19
510 #define DIF_NEWDEVICEWIZARD_PRESELECT       0x1a
511 #define DIF_NEWDEVICEWIZARD_SELECT          0x1b
512 #define DIF_NEWDEVICEWIZARD_PREANALYZE      0x1c
513 #define DIF_NEWDEVICEWIZARD_POSTANALYZE     0x1d
514 #define DIF_NEWDEVICEWIZARD_FINISHINSTALL   0x1e
515 #define DIF_UNUSED1                         0x1f
516 #define DIF_INSTALLINTERFACES               0x20
517 #define DIF_DETECTCANCEL                    0x21
518 #define DIF_REGISTER_COINSTALLERS           0x22
519 #define DIF_ADDPROPERTYPAGE_ADVANCED        0x23
520 #define DIF_ADDPROPERTYPAGE_BASIC           0x24
521 #define DIF_RESERVED1                       0x25
522 #define DIF_TROUBLESHOOTER                  0x26
523 #define DIF_POWERMESSAGEWAKE                0x27
524 #define DIF_ADDREMOTEPROPERTYPAGE_ADVANCED  0x28
525 #define DIF_UPDATEDRIVER_UI                 0x29
526 #define DIF_RESERVED2                       0x30
527
528 /* Directory ids */
529 #define DIRID_ABSOLUTE                (-1)
530 #define DIRID_ABSOLUTE_16BIT          0xffff
531 #define DIRID_NULL                    0
532 #define DIRID_SRCPATH                 1
533 #define DIRID_WINDOWS                 10
534 #define DIRID_SYSTEM                  11
535 #define DIRID_DRIVERS                 12
536 #define DIRID_IOSUBSYS                DIRID_DRIVERS
537 #define DIRID_INF                     17
538 #define DIRID_HELP                    18
539 #define DIRID_FONTS                   20
540 #define DIRID_VIEWERS                 21
541 #define DIRID_COLOR                   23
542 #define DIRID_APPS                    24
543 #define DIRID_SHARED                  25
544 #define DIRID_BOOT                    30
545 #define DIRID_SYSTEM16                50
546 #define DIRID_SPOOL                   51
547 #define DIRID_SPOOLDRIVERS            52
548 #define DIRID_USERPROFILE             53
549 #define DIRID_LOADER                  54
550 #define DIRID_PRINTPROCESSOR          55
551 #define DIRID_DEFAULT                 DIRID_SYSTEM
552
553 #define DIRID_COMMON_STARTMENU        16406
554 #define DIRID_COMMON_PROGRAMS         16407
555 #define DIRID_COMMON_STARTUP          16408
556 #define DIRID_COMMON_DESKTOPDIRECTORY 16409
557 #define DIRID_COMMON_FAVORITES        16415
558 #define DIRID_COMMON_APPDATA          16419
559 #define DIRID_PROGRAM_FILES           16422
560 #define DIRID_SYSTEM_X86              16425
561 #define DIRID_PROGRAM_FILES_X86       16426
562 #define DIRID_PROGRAM_FILES_COMMON    16427
563 #define DIRID_PROGRAM_FILES_COMMONX86 16428
564 #define DIRID_COMMON_TEMPLATES        16429
565 #define DIRID_COMMON_DOCUMENTS        16430
566
567 #define DIRID_USER                    0x8000
568
569
570 /* Error code */
571
572 #define ERROR_EXPECTED_SECTION_NAME       (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0)
573 #define ERROR_BAD_SECTION_NAME_LINE       (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|1)
574 #define ERROR_SECTION_NAME_TOO_LONG       (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|2)
575 #define ERROR_GENERAL_SYNTAX              (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|3)
576 #define ERROR_WRONG_INF_STYLE             (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x100)
577 #define ERROR_SECTION_NOT_FOUND           (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x101)
578 #define ERROR_LINE_NOT_FOUND              (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x102)
579 #define ERROR_NO_BACKUP                   (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x103)
580 #define ERROR_NO_ASSOCIATED_CLASS         (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x200)
581 #define ERROR_CLASS_MISMATCH              (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x201)
582 #define ERROR_DUPLICATE_FOUND             (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x202)
583 #define ERROR_NO_DRIVER_SELECTED          (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x203)
584 #define ERROR_KEY_DOES_NOT_EXIST          (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x204)
585 #define ERROR_INVALID_DEVINST_NAME        (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x205)
586 #define ERROR_INVALID_CLASS               (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x206)
587 #define ERROR_DEVINST_ALREADY_EXISTS      (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x207)
588 #define ERROR_DEVINFO_NOT_REGISTERED      (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x208)
589 #define ERROR_INVALID_REG_PROPERTY        (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x209)
590 #define ERROR_NO_INF                      (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20A)
591 #define ERROR_NO_SUCH_DEVINST             (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20B)
592 #define ERROR_CANT_LOAD_CLASS_ICON        (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20C)
593 #define ERROR_INVALID_CLASS_INSTALLER     (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20D)
594 #define ERROR_DI_DO_DEFAULT               (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20E)
595 #define ERROR_DI_NOFILECOPY               (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20F)
596 #define ERROR_INVALID_HWPROFILE           (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x210)
597 #define ERROR_NO_DEVICE_SELECTED          (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x211)
598 #define ERROR_DEVINFO_LIST_LOCKED         (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x212)
599 #define ERROR_DEVINFO_DATA_LOCKED         (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x213)
600 #define ERROR_DI_BAD_PATH                 (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x214)
601 #define ERROR_NO_CLASSINSTALL_PARAMS      (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x215)
602 #define ERROR_FILEQUEUE_LOCKED            (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x216)
603 #define ERROR_BAD_SERVICE_INSTALLSECT     (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x217)
604 #define ERROR_NO_CLASS_DRIVER_LIST        (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x218)
605 #define ERROR_NO_ASSOCIATED_SERVICE       (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x219)
606 #define ERROR_NO_DEFAULT_DEVICE_INTERFACE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21A)
607 #define ERROR_DEVICE_INTERFACE_ACTIVE     (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21B)
608 #define ERROR_DEVICE_INTERFACE_REMOVED    (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21C)
609 #define ERROR_BAD_INTERFACE_INSTALLSECT   (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21D)
610 #define ERROR_NO_SUCH_INTERFACE_CLASS     (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21E)
611 #define ERROR_INVALID_REFERENCE_STRING    (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21F)
612 #define ERROR_INVALID_MACHINENAME         (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x220)
613 #define ERROR_REMOTE_COMM_FAILURE         (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x221)
614 #define ERROR_MACHINE_UNAVAILABLE         (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x222)
615 #define ERROR_NO_CONFIGMGR_SERVICES       (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x223)
616 #define ERROR_INVALID_PROPPAGE_PROVIDER   (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x224)
617 #define ERROR_NO_SUCH_DEVICE_INTERFACE    (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x225)
618 #define ERROR_DI_POSTPROCESSING_REQUIRED  (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x226)
619 #define ERROR_INVALID_COINSTALLER         (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x227)
620 #define ERROR_NO_COMPAT_DRIVERS           (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x228)
621 #define ERROR_NO_DEVICE_ICON              (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x229)
622 #define ERROR_INVALID_INF_LOGCONFIG       (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22A)
623 #define ERROR_DI_DONT_INSTALL             (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22B)
624 #define ERROR_INVALID_FILTER_DRIVER       (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22C)
625 #define ERROR_NON_WINDOWS_NT_DRIVER       (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22D)
626 #define ERROR_NON_WINDOWS_DRIVER          (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22E)
627 #define ERROR_NO_CATALOG_FOR_OEM_INF      (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22F)
628 #define ERROR_DEVINSTALL_QUEUE_NONNATIVE  (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x230)
629 #define ERROR_NOT_DISABLEABLE             (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x231)
630 #define ERROR_CANT_REMOVE_DEVINST         (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x232)
631 #define ERROR_INVALID_TARGET              (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x233)
632 #define ERROR_DRIVER_NONNATIVE            (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x234)
633 #define ERROR_IN_WOW64                    (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x235)
634 #define ERROR_SET_SYSTEM_RESTORE_POINT    (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x236)
635 #define ERROR_INCORRECTLY_COPIED_INF      (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x237)
636 #define ERROR_SCE_DISABLED                (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x238)
637 #define ERROR_NO_DEFAULT_INTERFACE_DEVICE ERROR_NO_DEFAULT_DEVICE_INTERFACE
638 #define ERROR_INTERFACE_DEVICE_ACTIVE     ERROR_DEVICE_INTERFACE_ACTIVE
639 #define ERROR_INTERFACE_DEVICE_REMOVED    ERROR_DEVICE_INTERFACE_REMOVED
640 #define ERROR_NO_SUCH_INTERFACE_DEVICE    ERROR_NO_SUCH_DEVICE_INTERFACE
641 #define ERROR_NOT_INSTALLED               (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x1000)
642
643 /* flags for SetupDiGetClassDevs */
644 #define DIGCF_DEFAULT         0x00000001
645 #define DIGCF_PRESENT         0x00000002
646 #define DIGCF_ALLCLASSES      0x00000004
647 #define DIGCF_PROFILE         0x00000008
648 #define DIGCF_DEVICEINTERFACE 0x00000010
649
650 /* Flags for SetupDiOpenClassRegKeyEx */
651 #define DIOCR_INSTALLER       0x00000001
652 #define DIOCR_INTERFACE       0x00000002
653
654 /* Flags for SetupDiBuildClassInfoList(Ex) */
655 #define DIBCI_NOINSTALLCLASS  0x00000001
656 #define DIBCI_NODISPLAYCLASS  0x00000002
657
658 /* setup device registry property codes */
659 #define SPDRP_DEVICEDESC                  0x00000000
660 #define SPDRP_HARDWAREID                  0x00000001
661 #define SPDRP_COMPATIBLEIDS               0x00000002
662 #define SPDRP_UNUSED0                     0x00000003
663 #define SPDRP_SERVICE                     0x00000004
664 #define SPDRP_UNUSED1                     0x00000005
665 #define SPDRP_UNUSED2                     0x00000006
666 #define SPDRP_CLASS                       0x00000007
667 #define SPDRP_CLASSGUID                   0x00000008
668 #define SPDRP_DRIVER                      0x00000009
669 #define SPDRP_CONFIGFLAGS                 0x0000000a
670 #define SPDRP_MFG                         0x0000000b
671 #define SPDRP_FRIENDLYNAME                0x0000000c
672 #define SPDRP_LOCATION_INFORMATION        0x0000000d
673 #define SPDRP_PHYSICAL_DEVICE_OBJECT_NAME 0x0000000e
674 #define SPDRP_CAPABILITIES                0x0000000f
675 #define SPDRP_UI_NUMBER                   0x00000010
676 #define SPDRP_UPPERFILTERS                0x00000011
677 #define SPDRP_LOWERFILTERS                0x00000012
678 #define SPDRP_BUSTYPEGUID                 0x00000013
679 #define SPDRP_LEGACYBUSTYPE               0x00000014
680 #define SPDRP_BUSNUMBER                   0x00000015
681 #define SPDRP_ENUMERATOR_NAME             0x00000016
682 #define SPDRP_SECURITY                    0x00000017
683 #define SPDRP_SECURITY_SDS                0x00000018
684 #define SPDRP_DEVTYPE                     0x00000019
685 #define SPDRP_EXCLUSIVE                   0x0000001a
686 #define SPDRP_CHARACTERISTICS             0x0000001b
687 #define SPDRP_ADDRESS                     0x0000001c
688 #define SPDRP_UI_NUMBER_DESC_FORMAT       0x0000001d
689 #define SPDRP_DEVICE_POWER_DATA           0x0000001e
690 #define SPDRP_REMOVAL_POLICY              0x0000001f
691 #define SPDRP_REMOVAL_POLICY_HW_DEFAULT   0x00000020
692 #define SPDRP_REMOVAL_POLICY_OVERRIDE     0x00000021
693 #define SPDRP_INSTALL_STATE               0x00000022
694 #define SPDRP_MAXIMUM_PROPERTY            0x00000023
695
696 #define DPROMPT_SUCCESS       0
697 #define DPROMPT_CANCEL        1
698 #define DPROMPT_SKIPFILE      2
699 #define DPROMPT_BUFFERTOSMALL 3
700 #define DPROMPT_OUTOFMEMORY   4
701
702 #define IDF_NOBROWSE     0x00000001
703 #define IDF_NOSKIP       0x00000002
704 #define IDF_NODETAILS    0x00000004
705 #define IDF_NOCOMPRESSED 0x00000008
706 #define IDF_CHECKFIRST   0x00000100
707 #define IDF_NOBEEP       0x00000200
708 #define IDF_NOFOREGROUND 0x00000400
709 #define IDF_WARNIFSKIP   0x00000800
710
711 #define INFINFO_INF_SPEC_IS_HINF        1
712 #define INFINFO_INF_NAME_IS_ABSOLUTE    2
713 #define INFINFO_DEFAULT_SEARCH          3
714 #define INFINFO_REVERSE_DEFAULT_SEARCH  4
715 #define INFINFO_INF_PATH_LIST_SEARCH    5
716
717 #define LogSeverity         DWORD
718 #define LogSevInformation   0x00000000
719 #define LogSevWarning       0x00000001
720 #define LogSevError         0x00000002
721 #define LogSevFatalError    0x00000003
722 #define LogSevMaximum       0x00000004
723
724 #define SRCINFO_PATH           1
725 #define SRCINFO_TAGFILE        2
726 #define SRCINFO_DESCRIPTION    3
727
728 #define FILE_COMPRESSION_NONE       0
729 #define FILE_COMPRESSION_WINLZA     1
730 #define FILE_COMPRESSION_MSZIP      2
731 #define FILE_COMPRESSION_NTCAB      3
732
733 LONG     WINAPI AddTagToGroupOrderList(PCWSTR lpGroupName, DWORD dwUnknown2, DWORD dwUnknown3);
734 DWORD    WINAPI CaptureAndConvertAnsiArg(PCSTR lpSrc, PWSTR *lpDst);
735 DWORD    WINAPI CaptureStringArg(PCWSTR lpSrc, PWSTR *lpDst);
736 BOOL     WINAPI DelayedMove(PCWSTR lpExistingFileName, PCWSTR lpNewFileName);
737 BOOL     WINAPI DoesUserHavePrivilege(PCWSTR lpPrivilegeName);
738 PWSTR    WINAPI DuplicateString(PCWSTR lpSrc);
739 BOOL     WINAPI EnablePrivilege(PCWSTR lpPrivilegeName, BOOL bEnable);
740 BOOL     WINAPI FileExists(PCWSTR lpFileName, PWIN32_FIND_DATAW lpFileFindData);
741 void     WINAPI InstallHinfSectionA( HWND hwnd, HINSTANCE handle, PCSTR cmdline, INT show );
742 void     WINAPI InstallHinfSectionW( HWND hwnd, HINSTANCE handle, PCWSTR cmdline, INT show );
743 #define         InstallHinfSection WINELIB_NAME_AW(InstallHinfSection)
744 BOOL     WINAPI IsUserAdmin(VOID);
745 PWSTR    WINAPI MultiByteToUnicode(PCSTR lpMultiByteStr, UINT uCodePage);
746 VOID     WINAPI MyFree(PVOID lpMem);
747 PVOID    WINAPI MyMalloc(DWORD dwSize);
748 PVOID    WINAPI MyRealloc(PVOID lpSrc, DWORD dwSize);
749 DWORD    WINAPI OpenAndMapForRead(PCWSTR, PDWORD, PHANDLE, PHANDLE, PVOID *);
750 LONG     WINAPI QueryRegistryValue(HKEY, PCWSTR, PBYTE *, PDWORD, PDWORD);
751 DWORD    WINAPI RetreiveFileSecurity(PCWSTR, PSECURITY_DESCRIPTOR *);
752 BOOL     WINAPI SetupCloseFileQueue( HSPFILEQ );
753 void     WINAPI SetupCloseInfFile( HINF hinf );
754 BOOL     WINAPI SetupCommitFileQueueA( HWND, HSPFILEQ, PSP_FILE_CALLBACK_A, PVOID );
755 BOOL     WINAPI SetupCommitFileQueueW( HWND, HSPFILEQ, PSP_FILE_CALLBACK_W, PVOID );
756 #define         SetupCommitFileQueue WINELIB_NAME_AW(SetupCommitFileQueue)
757 UINT     WINAPI SetupCopyErrorA( HWND, PCSTR, PCSTR, PCSTR, PCSTR, PCSTR, UINT, DWORD, PSTR, DWORD, PDWORD );
758 UINT     WINAPI SetupCopyErrorW( HWND, PCWSTR, PCWSTR, PCWSTR, PCWSTR, PCWSTR, UINT, DWORD, PWSTR, DWORD, PDWORD );
759 #define         SetupCopyError WINELIB_NAME_AW(SetupCopyError)
760 BOOL     WINAPI SetupCopyOEMInfA( PCSTR, PCSTR, DWORD, DWORD, PSTR, DWORD, PDWORD, PSTR * );
761 BOOL     WINAPI SetupCopyOEMInfW( PCWSTR, PCWSTR, DWORD, DWORD, PWSTR, DWORD, PDWORD, PWSTR * );
762 #define         SetupCopyOEMInf WINELIB_NAME_AW(SetupCopyOEMInf)
763 DWORD    WINAPI SetupDecompressOrCopyFileA( PCSTR, PCSTR, PUINT );
764 DWORD    WINAPI SetupDecompressOrCopyFileW( PCWSTR, PCWSTR, PUINT );
765 #define         SetupDecompressOrCopyFile WINELIB_NAME_AW(SetupDecompressOrCopyFile)
766 UINT     WINAPI SetupDefaultQueueCallbackA( PVOID, UINT, UINT_PTR, UINT_PTR );
767 UINT     WINAPI SetupDefaultQueueCallbackW( PVOID, UINT, UINT_PTR, UINT_PTR );
768 #define         SetupDefaultQueueCallback WINELIB_NAME_AW(SetupDefaultQueueCallback)
769 UINT     WINAPI SetupDeleteErrorA( HWND, PCSTR, PCSTR, UINT, DWORD );
770 UINT     WINAPI SetupDeleteErrorW( HWND, PCWSTR, PCWSTR, UINT, DWORD );
771 #define         SetupDeleteError WINELIB_NAME_AW(SetupDeleteError)
772 BOOL     WINAPI SetupDiBuildClassInfoList(DWORD, LPGUID, DWORD, PDWORD);
773 BOOL     WINAPI SetupDiBuildClassInfoListExA(DWORD, LPGUID, DWORD, PDWORD, PCSTR, PVOID);
774 BOOL     WINAPI SetupDiBuildClassInfoListExW(DWORD, LPGUID, DWORD, PDWORD, PCWSTR, PVOID);
775 #define         SetupDiBuildClassInfoListEx WINELIB_NAME_AW(SetupDiBuildClassInfoListEx)
776 BOOL     WINAPI SetupDiCallClassInstaller(DI_FUNCTION, HDEVINFO, PSP_DEVINFO_DATA);
777 BOOL     WINAPI SetupDiClassGuidsFromNameA(LPCSTR, LPGUID, DWORD, PDWORD);
778 BOOL     WINAPI SetupDiClassGuidsFromNameW(LPCWSTR, LPGUID, DWORD, PDWORD);
779 #define         SetupDiClassGuidsFromName WINELIB_NAME_AW(SetupDiClassGuidsFromName)
780 BOOL     WINAPI SetupDiClassGuidsFromNameExA(LPCSTR, LPGUID, DWORD, PDWORD, LPCSTR, PVOID);
781 BOOL     WINAPI SetupDiClassGuidsFromNameExW(LPCWSTR, LPGUID, DWORD, PDWORD, LPCWSTR, PVOID);
782 #define         SetupDiClassGuidsFromNameEx WINELIB_NAME_AW(SetupDiClassGuidsFromNameEx)
783 BOOL     WINAPI SetupDiClassNameFromGuidA(const GUID*, PSTR, DWORD, PDWORD);
784 BOOL     WINAPI SetupDiClassNameFromGuidW(const GUID*, PWSTR, DWORD, PDWORD);
785 #define         SetupDiClassNameFromGuid WINELIB_NAME_AW(SetupDiClassNameFromGuid)
786 BOOL     WINAPI SetupDiClassNameFromGuidExA(const GUID*, PSTR, DWORD, PDWORD, PCSTR, PVOID);
787 BOOL     WINAPI SetupDiClassNameFromGuidExW(const GUID*, PWSTR, DWORD, PDWORD, PCWSTR, PVOID);
788 #define         SetupDiClassNameFromGuidEx WINELIB_NAME_AW(SetupDiClassNameFromGuidEx)
789 HDEVINFO WINAPI SetupDiCreateDeviceInfoList(const GUID *, HWND);
790 HDEVINFO WINAPI SetupDiCreateDeviceInfoListExA(const GUID *, HWND, PCSTR, PVOID);
791 HDEVINFO WINAPI SetupDiCreateDeviceInfoListExW(const GUID *, HWND, PCWSTR, PVOID);
792 #define         SetupDiCreateDeviceInfoListEx WINELIB_NAME_AW(SetupDiCreateDeviceInfoListEx)
793 BOOL     WINAPI SetupDiCreateDeviceInfoA(HDEVINFO, PCSTR, CONST GUID*, PCSTR, HWND, DWORD,PSP_DEVINFO_DATA);
794 BOOL     WINAPI SetupDiCreateDeviceInfoW(HDEVINFO, PCWSTR, CONST GUID*, PCWSTR, HWND, DWORD,PSP_DEVINFO_DATA);
795 #define         SetupDiCreateDeviceInfo WINELIB_NAME_AW(SetupDiCreateDeviceInfo)
796 BOOL     WINAPI SetupDiDestroyDeviceInfoList(HDEVINFO);
797 BOOL     WINAPI SetupDiEnumDeviceInfo(HDEVINFO, DWORD, PSP_DEVINFO_DATA);
798 BOOL     WINAPI SetupDiEnumDeviceInterfaces(HDEVINFO, PSP_DEVINFO_DATA, const GUID *, DWORD, PSP_DEVICE_INTERFACE_DATA);
799 BOOL     WINAPI SetupDiGetActualSectionToInstallA(HINF, PCSTR, PSTR, DWORD, PDWORD, PSTR *);
800 BOOL     WINAPI SetupDiGetActualSectionToInstallW(HINF, PCWSTR, PWSTR, DWORD, PDWORD, PWSTR *);
801 #define         SetupDiGetActualSectionToInstall WINELIB_NAME_AW(SetupDiGetActualSectionToInstall)
802 BOOL     WINAPI SetupDiGetClassDescriptionA(const GUID*, PSTR, DWORD, PDWORD);
803 BOOL     WINAPI SetupDiGetClassDescriptionW(const GUID*, PWSTR, DWORD, PDWORD);
804 #define         SetupDiGetClassDescription WINELIB_NAME_AW(SetupDiGetClassDescription)
805 BOOL     WINAPI SetupDiGetClassDescriptionExA(const GUID*, PSTR, DWORD, PDWORD, PCSTR, PVOID);
806 BOOL     WINAPI SetupDiGetClassDescriptionExW(const GUID*, PWSTR, DWORD, PDWORD, PCWSTR, PVOID);
807 #define         SetupDiGetClassDescriptionEx WINELIB_NAME_AW(SetupDiGetClassDescriptionEx)
808 HDEVINFO WINAPI SetupDiGetClassDevsA(CONST GUID *,LPCSTR,HWND,DWORD);
809 HDEVINFO WINAPI SetupDiGetClassDevsW(CONST GUID *,LPCWSTR,HWND,DWORD);
810 #define         SetupDiGetClassDevs WINELIB_NAME_AW(SetupDiGetClassDevs)
811 BOOL     WINAPI SetupDiGetDeviceInterfaceDetailA(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, PSP_DEVICE_INTERFACE_DETAIL_DATA_A,
812                                                  DWORD, PDWORD, PSP_DEVINFO_DATA);
813 BOOL     WINAPI SetupDiGetDeviceInterfaceDetailW(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, PSP_DEVICE_INTERFACE_DETAIL_DATA_W,
814                                                  DWORD, PDWORD, PSP_DEVINFO_DATA);
815 #define         SetupDiGetDeviceInterfaceDetail WINELIB_NAME_AW(SetupDiGetDeviceInterfaceDetail)
816 BOOL     WINAPI SetupDiGetDeviceInstallParamsA(HDEVINFO, PSP_DEVINFO_DATA, PSP_DEVINSTALL_PARAMS_A);
817 BOOL     WINAPI SetupDiGetDeviceInstallParamsW(HDEVINFO, PSP_DEVINFO_DATA, PSP_DEVINSTALL_PARAMS_W);
818 #define         SetupDiGetDeviceInstallParams WINELIB_NAME_AW(SetupDiGetDeviceInstallParams)
819 BOOL     WINAPI SetupDiGetDeviceRegistryPropertyA(HDEVINFO, PSP_DEVINFO_DATA, DWORD, PDWORD, PBYTE, DWORD, PDWORD);
820 BOOL     WINAPI SetupDiGetINFClassA(PCSTR, LPGUID, PSTR, DWORD, PDWORD);
821 BOOL     WINAPI SetupDiGetINFClassW(PCWSTR, LPGUID, PWSTR, DWORD, PDWORD);
822 #define         SetupDiGetINFClass WINELIB_NAME_AW(SetupDiGetINFClass)
823 BOOL     WINAPI SetupDiInstallClassA(HWND, PCSTR, DWORD, HSPFILEQ);
824 BOOL     WINAPI SetupDiInstallClassW(HWND, PCWSTR, DWORD, HSPFILEQ);
825 #define         SetupDiInstallClass WINELIB_NAME_AW(SetupDiInstallClass)
826 HKEY     WINAPI SetupDiOpenClassRegKey(const GUID*, REGSAM);
827 HKEY     WINAPI SetupDiOpenClassRegKeyExA(const GUID*, REGSAM, DWORD, PCSTR, PVOID);
828 HKEY     WINAPI SetupDiOpenClassRegKeyExW(const GUID*, REGSAM, DWORD, PCWSTR, PVOID);
829 #define         SetupDiOpenClassRegKeyEx WINELIB_NAME_AW(SetupDiOpenClassRegKeyEx)
830 BOOL     WINAPI SetupDiOpenDeviceInterfaceA(HDEVINFO, PCSTR, DWORD, PSP_DEVICE_INTERFACE_DATA);
831 BOOL     WINAPI SetupDiOpenDeviceInterfaceW(HDEVINFO, PCWSTR, DWORD, PSP_DEVICE_INTERFACE_DATA);
832 #define         SetupDiOpenDeviceInterface WINELIB_NAME_AW(SetupDiOpenDeviceInterface)
833 HKEY     WINAPI SetupDiOpenDevRegKey(HDEVINFO, PSP_DEVINFO_DATA, DWORD, DWORD, DWORD, REGSAM);
834 BOOL     WINAPI SetupDiSetClassInstallParamsA(HDEVINFO, PSP_DEVINFO_DATA, PSP_CLASSINSTALL_HEADER, DWORD);
835 BOOL     WINAPI SetupDiSetClassInstallParamsW(HDEVINFO, PSP_DEVINFO_DATA, PSP_CLASSINSTALL_HEADER, DWORD);
836 #define         SetupDiSetClassInstallParams WINELIB_NAME_AW(SetupDiSetClassInstallParams)
837 BOOL     WINAPI SetupFindFirstLineA( HINF hinf, PCSTR section, PCSTR key, INFCONTEXT *context );
838 BOOL     WINAPI SetupFindFirstLineW( HINF hinf, PCWSTR section, PCWSTR key, INFCONTEXT *context );
839 #define         SetupFindFirstLine WINELIB_NAME_AW(SetupFindFirstLine)
840 BOOL     WINAPI SetupFindNextLine( PINFCONTEXT context_in, PINFCONTEXT context_out );
841 BOOL     WINAPI SetupFindNextMatchLineA( PINFCONTEXT context_in, PCSTR key, PINFCONTEXT context_out );
842 BOOL     WINAPI SetupFindNextMatchLineW( PINFCONTEXT context_in, PCWSTR key, PINFCONTEXT context_out );
843 #define         SetupFindNextMatchLine WINELIB_NAME_AW(SetupFindNextMatchLine)
844 BOOL     WINAPI SetupGetBinaryField( PINFCONTEXT context, DWORD index, BYTE *buffer, DWORD size, LPDWORD required );
845 DWORD    WINAPI SetupGetFieldCount( PINFCONTEXT context );
846 DWORD    WINAPI SetupGetFileCompressionInfoA(PCSTR, PSTR *, PDWORD, PDWORD, PUINT);
847 DWORD    WINAPI SetupGetFileCompressionInfoW(PCWSTR, PWSTR *, PDWORD, PDWORD, PUINT);
848 #define         SetupGetFileCompressionInfo WINELIB_NAME_AW(SetupGetFileCompressionInfo)
849 BOOL     WINAPI SetupGetFileCompressionInfoExA(PCSTR, PSTR, DWORD, PDWORD, PDWORD, PDWORD, PUINT);
850 BOOL     WINAPI SetupGetFileCompressionInfoExW(PCWSTR, PWSTR, DWORD, PDWORD, PDWORD, PDWORD, PUINT);
851 #define         SetupGetFileCompressionInfoEx WINELIB_NAME_AW(SetupGetFileCompressionInfoEx)
852 BOOL     WINAPI SetupGetFileQueueCount( HSPFILEQ, UINT, PUINT );
853 BOOL     WINAPI SetupGetFileQueueFlags( HSPFILEQ, PDWORD );
854 BOOL     WINAPI SetupGetInfInformationA( LPCVOID, DWORD, PSP_INF_INFORMATION, DWORD, PDWORD);
855 BOOL     WINAPI SetupGetInfInformationW( LPCVOID, DWORD, PSP_INF_INFORMATION, DWORD, PDWORD);
856 #define         SetupGetInfInformation WINELIB_NAME_AW(SetupGetInfInformation)
857 BOOL     WINAPI SetupGetIntField( PINFCONTEXT context, DWORD index, PINT result );
858 BOOL     WINAPI SetupGetLineByIndexA( HINF, PCSTR, DWORD, INFCONTEXT * );
859 BOOL     WINAPI SetupGetLineByIndexW( HINF, PCWSTR, DWORD, INFCONTEXT * );
860 #define         SetupGetLineByIndex WINELIB_NAME_AW(SetupGetLineByIndex)
861 LONG     WINAPI SetupGetLineCountA( HINF hinf, PCSTR section );
862 LONG     WINAPI SetupGetLineCountW( HINF hinf, PCWSTR section );
863 #define         SetupGetLineCount WINELIB_NAME_AW(SetupGetLineCount)
864 BOOL     WINAPI SetupGetLineTextA( PINFCONTEXT context, HINF hinf, PCSTR section_name,PCSTR key_name, PSTR buffer, DWORD size, PDWORD required );
865 BOOL     WINAPI SetupGetLineTextW( PINFCONTEXT context, HINF hinf, PCWSTR section_name, PCWSTR key_name, PWSTR buffer, DWORD size, PDWORD required );
866 #define         SetupGetLineText WINELIB_NAME_AW(SetupGetLineText)
867 BOOL     WINAPI SetupGetMultiSzFieldA( PINFCONTEXT context, DWORD index, PSTR buffer, DWORD size, LPDWORD required );
868 BOOL     WINAPI SetupGetMultiSzFieldW( PINFCONTEXT context, DWORD index, PWSTR buffer, DWORD size, LPDWORD required );
869 #define         SetupGetMultiSzField WINELIB_NAME_AW(SetupGetMultiSzField)
870 BOOL     WINAPI SetupGetSourceFileLocationA( HINF hinf, PINFCONTEXT context, PCSTR filename, PUINT source_id, PSTR buffer, DWORD buffer_size, PDWORD required_size );
871 BOOL     WINAPI SetupGetSourceFileLocationW( HINF hinf, PINFCONTEXT context, PCWSTR filename, PUINT source_id, PWSTR buffer, DWORD buffer_size, PDWORD required_size );
872 #define         SetupGetSourceFileLocation WINELIB_NAME_AW(SetupGetSourceFileLocation)
873 BOOL     WINAPI SetupGetSourceInfoA( HINF hinf, UINT source_id, UINT info, PSTR buffer, DWORD buffer_size, LPDWORD required_size );
874 BOOL     WINAPI SetupGetSourceInfoW( HINF hinf, UINT source_id, UINT info, PWSTR buffer, DWORD buffer_size, LPDWORD required_size );
875 #define         SetupGetSourceInfo WINELIB_NAME_AW(SetupGetSourceInfo)
876 BOOL     WINAPI SetupGetStringFieldA( PINFCONTEXT context, DWORD index, PSTR buffer, DWORD size, PDWORD required );
877 BOOL     WINAPI SetupGetStringFieldW( PINFCONTEXT context, DWORD index, PWSTR buffer, DWORD size, PDWORD required );
878 #define         SetupGetStringField WINELIB_NAME_AW(SetupGetStringField)
879 BOOL     WINAPI SetupGetTargetPathA( HINF hinf, PINFCONTEXT context, PCSTR section, PSTR buffer, DWORD buffer_size, PDWORD required_size );
880 BOOL     WINAPI SetupGetTargetPathW( HINF hinf, PINFCONTEXT context, PCWSTR section, PWSTR buffer, DWORD buffer_size, PDWORD required_size );
881 #define         SetupGetTargetPath WINELIB_NAME_AW(SetupGetTargetPath)
882 PVOID    WINAPI SetupInitDefaultQueueCallback( HWND );
883 PVOID    WINAPI SetupInitDefaultQueueCallbackEx( HWND, HWND, UINT, DWORD, PVOID );
884 BOOL     WINAPI SetupInstallFilesFromInfSectionA( HINF, HINF, HSPFILEQ, PCSTR, PCSTR, UINT );
885 BOOL     WINAPI SetupInstallFilesFromInfSectionW( HINF, HINF, HSPFILEQ, PCWSTR, PCWSTR, UINT );
886 #define         SetupInstallFilesFromInfSection WINELIB_NAME_AW(SetupInstallFilesFromInfSection)
887 BOOL     WINAPI SetupInstallFromInfSectionA(HWND,HINF,PCSTR,UINT,HKEY,PCSTR,UINT,
888                                             PSP_FILE_CALLBACK_A,PVOID,HDEVINFO,PSP_DEVINFO_DATA);
889 BOOL     WINAPI SetupInstallFromInfSectionW(HWND,HINF,PCWSTR,UINT,HKEY,PCWSTR,UINT,
890                                             PSP_FILE_CALLBACK_W,PVOID,HDEVINFO,PSP_DEVINFO_DATA);
891 #define         SetupInstallFromInfSection WINELIB_NAME_AW(SetupInstallFromInfSection)
892 BOOL     WINAPI SetupIterateCabinetA(PCSTR, DWORD, PSP_FILE_CALLBACK_A, PVOID);
893 BOOL     WINAPI SetupIterateCabinetW(PCWSTR, DWORD, PSP_FILE_CALLBACK_W, PVOID);
894 #define         SetupIterateCabinet WINELIB_NAME_AW(SetupIterateCabinet)
895 BOOL     WINAPI SetupOpenAppendInfFileA( PCSTR, HINF, UINT * );
896 BOOL     WINAPI SetupOpenAppendInfFileW( PCWSTR, HINF, UINT * );
897 #define         SetupOpenAppendInfFile WINELIB_NAME_AW(SetupOpenAppendInfFile)
898 HSPFILEQ WINAPI SetupOpenFileQueue(void);
899 HINF     WINAPI SetupOpenInfFileA( PCSTR name, PCSTR pszclass, DWORD style, UINT *error );
900 HINF     WINAPI SetupOpenInfFileW( PCWSTR name, PCWSTR pszclass, DWORD style, UINT *error );
901 #define         SetupOpenInfFile WINELIB_NAME_AW(SetupOpenInfFile)
902 HINF     WINAPI SetupOpenMasterInf( VOID );
903 INT      WINAPI SetupPromptReboot( HSPFILEQ, HWND, BOOL);
904 BOOL     WINAPI SetupQueryInfFileInformationA(PSP_INF_INFORMATION, UINT, PSTR, DWORD, PDWORD);
905 BOOL     WINAPI SetupQueryInfFileInformationW(PSP_INF_INFORMATION, UINT, PWSTR, DWORD, PDWORD);
906 #define         SetupQueryInfFileInformation WINELIB_NAME_AW(SetupQueryInFileInformation)
907 BOOL     WINAPI SetupQueryInfOriginalFileInformationA(PSP_INF_INFORMATION, UINT, PSP_ALTPLATFORM_INFO, PSP_ORIGINAL_FILE_INFO_A);
908 BOOL     WINAPI SetupQueryInfOriginalFileInformationW(PSP_INF_INFORMATION, UINT, PSP_ALTPLATFORM_INFO, PSP_ORIGINAL_FILE_INFO_W);
909 #define         SetupQueryInfOriginalFileInformation WINELIB_NAME_AW(SetupQueryInfOriginalFileInformation)
910 BOOL     WINAPI SetupQueueCopyA(HSPFILEQ,PCSTR,PCSTR,PCSTR,PCSTR,PCSTR,PCSTR,PCSTR,DWORD);
911 BOOL     WINAPI SetupQueueCopyW(HSPFILEQ,PCWSTR,PCWSTR,PCWSTR,PCWSTR,PCWSTR,PCWSTR,PCWSTR,DWORD);
912 #define         SetupQueueCopy WINELIB_NAME_AW(SetupQueueCopy)
913 BOOL     WINAPI SetupQueueCopyIndirectA( PSP_FILE_COPY_PARAMS_A );
914 BOOL     WINAPI SetupQueueCopyIndirectW( PSP_FILE_COPY_PARAMS_W );
915 #define         SetupQueueCopyIndirect WINELIB_NAME_AW(SetupQueueCopyIndirect)
916 BOOL     WINAPI SetupQueueCopySectionA( HSPFILEQ, PCSTR, HINF, HINF, PCSTR, DWORD );
917 BOOL     WINAPI SetupQueueCopySectionW( HSPFILEQ, PCWSTR, HINF, HINF, PCWSTR, DWORD );
918 #define         SetupQueueCopySection WINELIB_NAME_AW(SetupQueueCopySection)
919 BOOL     WINAPI SetupQueueDefaultCopyA( HSPFILEQ, HINF, PCSTR, PCSTR, PCSTR, DWORD );
920 BOOL     WINAPI SetupQueueDefaultCopyW( HSPFILEQ, HINF, PCWSTR, PCWSTR, PCWSTR, DWORD );
921 #define         SetupQueueDefaultCopy WINELIB_NAME_AW(SetupQueueDefaultCopy)
922 BOOL     WINAPI SetupQueueDeleteA( HSPFILEQ, PCSTR, PCSTR );
923 BOOL     WINAPI SetupQueueDeleteW( HSPFILEQ, PCWSTR, PCWSTR );
924 #define         SetupQueueDelete WINELIB_NAME_AW(SetupQueueDelete)
925 BOOL     WINAPI SetupQueueDeleteSectionA( HSPFILEQ, HINF, HINF, PCSTR );
926 BOOL     WINAPI SetupQueueDeleteSectionW( HSPFILEQ, HINF, HINF, PCWSTR );
927 #define         SetupQueueDeleteSection WINELIB_NAME_AW(SetupQueueDeleteSection)
928 BOOL     WINAPI SetupQueueRenameA( HSPFILEQ, PCSTR, PCSTR, PCSTR, PCSTR );
929 BOOL     WINAPI SetupQueueRenameW( HSPFILEQ, PCWSTR, PCWSTR, PCWSTR, PCWSTR );
930 #define         SetupQueueRename WINELIB_NAME_AW(SetupQueueRename)
931 BOOL     WINAPI SetupQueueRenameSectionA( HSPFILEQ, HINF, HINF, PCSTR );
932 BOOL     WINAPI SetupQueueRenameSectionW( HSPFILEQ, HINF, HINF, PCWSTR );
933 #define         SetupQueueRenameSection WINELIB_NAME_AW(SetupQueueRenameSection)
934 UINT     WINAPI SetupRenameErrorA( HWND, PCSTR, PCSTR, PCSTR, UINT, DWORD );
935 UINT     WINAPI SetupRenameErrorW( HWND, PCWSTR, PCWSTR, PCWSTR, UINT, DWORD );
936 #define         SetupRenameError WINELIB_NAME_AW(SetupRenameError)
937 BOOL     WINAPI SetupScanFileQueueA( HSPFILEQ, DWORD, HWND, PSP_FILE_CALLBACK_A, PVOID, PDWORD );
938 BOOL     WINAPI SetupScanFileQueueW( HSPFILEQ, DWORD, HWND, PSP_FILE_CALLBACK_W, PVOID, PDWORD );
939 #define         SetupScanFileQueue WINELIB_NAME_AW(SetupScanFileQueue)
940 BOOL     WINAPI SetupSetDirectoryIdA( HINF, DWORD, PCSTR );
941 BOOL     WINAPI SetupSetDirectoryIdW( HINF, DWORD, PCWSTR );
942 #define         SetupSetDirectoryId WINELIB_NAME_AW(SetupSetDirectoryId)
943 BOOL     WINAPI SetupSetFileQueueAlternatePlatformA( HSPFILEQ, PSP_ALTPLATFORM_INFO, PCSTR );
944 BOOL     WINAPI SetupSetFileQueueAlternatePlatformW( HSPFILEQ, PSP_ALTPLATFORM_INFO, PCWSTR );
945 #define         SetupSetFileQueueAlternatePlatform WINELIB_NAME_AW(SetupSetFileQueueAlternatePlatform)
946 BOOL     WINAPI SetupSetFileQueueFlags( HSPFILEQ, DWORD, DWORD );
947 BOOL     WINAPI SetupSetSourceListA(DWORD, PCSTR *, UINT);
948 BOOL     WINAPI SetupSetSourceListW(DWORD, PCWSTR *, UINT);
949 #define         SetupSetSourceList WINELIB_NAME_AW(SetupSetSourceList)
950 void     WINAPI SetupTermDefaultQueueCallback( PVOID );
951 DWORD    WINAPI StampFileSecurity(PCWSTR, PSECURITY_DESCRIPTOR);
952 DWORD    WINAPI TakeOwnershipOfFile(PCWSTR);
953 PSTR     WINAPI UnicodeToMultiByte(PCWSTR lpUnicodeStr, UINT uCodePage);
954 BOOL     WINAPI UnmapAndCloseFile(HANDLE, HANDLE, PVOID);
955
956
957 #undef DECL_WINELIB_SETUPAPI_TYPE_AW
958
959 #endif /* _INC_SETUPAPI */