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 */
|
---|
12 | typedef PVOID HINF;
|
---|
13 |
|
---|
14 | /* Define type for handle to a device information set */
|
---|
15 | typedef PVOID HDEVINFO;
|
---|
16 |
|
---|
17 | /* Define type for setup file queue */
|
---|
18 | typedef PVOID HSPFILEQ;
|
---|
19 |
|
---|
20 | /* inf structure. */
|
---|
21 | typedef struct _INFCONTEXT
|
---|
22 | {
|
---|
23 | PVOID Inf;
|
---|
24 | PVOID CurrentInf;
|
---|
25 | UINT Section;
|
---|
26 | UINT Line;
|
---|
27 | } INFCONTEXT, *PINFCONTEXT;
|
---|
28 |
|
---|
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_)
|
---|
34 |
|
---|
35 |
|
---|
36 | /* Device Information structure (references a device instance that is a member
|
---|
37 | of a device information set) */
|
---|
38 | typedef 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.