Fixed a couple of HWND type mismatches.
[wine/multimedia.git] / include / setupapi.h
blobcdc421ad4c1cda338cd806c91953c59327f63f26
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__ */