Cleaned up the various errno location tests in configure.
[wine.git] / include / setupapi.h
blobca8881a37fe15193d41c0f7a8a3faa16b7cd6916
1 /* Initial setupapi.h.
3 FIXME: Missing A LOT of definitions / declarations!
4 */
6 #ifndef __SETUPAPI__
7 #define __SETUPAPI__
9 #include "commctrl.h"
11 /* Define type for handle to a loaded inf file */
12 typedef PVOID HINF;
14 /* Define type for handle to a device information set */
15 typedef PVOID HDEVINFO;
17 /* Define type for setup file queue */
18 typedef PVOID HSPFILEQ;
20 /* inf structure. */
21 typedef struct _INFCONTEXT
23 PVOID Inf;
24 PVOID CurrentInf;
25 UINT Section;
26 UINT Line;
27 } INFCONTEXT, *PINFCONTEXT;
29 typedef UINT (CALLBACK* PSP_FILE_CALLBACK_A)( PVOID Context, UINT Notification,
30 UINT Param1, UINT Param2 );
31 typedef UINT (CALLBACK* PSP_FILE_CALLBACK_W)( PVOID Context, UINT Notification,
32 UINT Param1, UINT Param2 );
33 #define PSP_FILE_CALLBACK WINELIB_NAME_AW(PSP_FILE_CALLBACK_)
36 /* Device Information structure (references a device instance that is a member
37 of a device information set) */
38 typedef struct _SP_DEVINFO_DATA
40 DWORD cbSize;
41 GUID ClassGuid;
42 DWORD DevInst; /* DEVINST handle */
43 DWORD Reserved;
44 } SP_DEVINFO_DATA, *PSP_DEVINFO_DATA;
46 #endif /* __SETUPAPI__ */