Commit | Line | Data |
---|---|---|
cb655b0a JH |
1 | /* Initial setupapi.h. |
2 | ||
3 | FIXME: Missing A LOT of definitions / declarations! | |
4 | */ | |
5 | ||
6 | #ifndef __SETUPAPI__ | |
7 | #define __SETUPAPI__ | |
8 | ||
9 | /* Define type for handle to a loaded inf file */ | |
10 | typedef PVOID HINF; | |
11 | ||
12 | /* Define type for handle to a device information set */ | |
13 | typedef PVOID HDEVINFO; | |
14 | ||
15 | /* inf structure. */ | |
16 | typedef struct _INFCONTEXT | |
17 | { | |
18 | PVOID Inf; | |
19 | PVOID CurrentInf; | |
20 | UINT Section; | |
21 | UINT Line; | |
22 | } INFCONTEXT, *PINFCONTEXT; | |
23 | ||
24 | /* Device Information structure (references a device instance that is a member | |
25 | of a device information set) */ | |
26 | typedef struct _SP_DEVINFO_DATA | |
27 | { | |
28 | DWORD cbSize; | |
29 | GUID ClassGuid; | |
30 | DWORD DevInst; /* DEVINST handle */ | |
31 | DWORD Reserved; | |
32 | } SP_DEVINFO_DATA, *PSP_DEVINFO_DATA; | |
33 | ||
34 | #endif |