source: trunk/include/win/setupapi.h@ 4987

Last change on this file since 4987 was 4987, checked in by sandervl, 25 years ago

added setupapi.h

File size: 1.2 KB
Line 
1/* Initial setupapi.h.
2
3 FIXME: Missing A LOT of definitions / declarations!
4*/
5
6#ifndef __SETUPAPI__
7#define __SETUPAPI__
8
9#include "commctrl.h"
10
11/* Define type for handle to a loaded inf file */
12typedef PVOID HINF;
13
14/* Define type for handle to a device information set */
15typedef PVOID HDEVINFO;
16
17/* Define type for setup file queue */
18typedef PVOID HSPFILEQ;
19
20/* inf structure. */
21typedef struct _INFCONTEXT
22{
23 PVOID Inf;
24 PVOID CurrentInf;
25 UINT Section;
26 UINT Line;
27} INFCONTEXT, *PINFCONTEXT;
28
29typedef UINT (* CALLBACK PSP_FILE_CALLBACK_A)( PVOID Context, UINT Notification,
30 UINT Param1, UINT Param2 );
31typedef 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_)
34
35
36/* Device Information structure (references a device instance that is a member
37 of a device information set) */
38typedef struct _SP_DEVINFO_DATA
39{
40 DWORD cbSize;
41 GUID ClassGuid;
42 DWORD DevInst; /* DEVINST handle */
43 DWORD Reserved;
44} SP_DEVINFO_DATA, *PSP_DEVINFO_DATA;
45
46#endif /* __SETUPAPI__ */
Note: See TracBrowser for help on using the repository browser.