Export the FILE_GetUnixHandle functionality from ntdll.
[wine/dcerpc.git] / include / setupapi.h
blob955610e3280df8ff8ecc1e7e6e4cd1aad855202f
1 /*
2 * Copyright (C) 2000 James Hatheway
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #ifndef __SETUPAPI__
20 #define __SETUPAPI__
22 #include "commctrl.h"
24 /* Define type for handle to a loaded inf file */
25 typedef PVOID HINF;
27 /* Define type for handle to a device information set */
28 typedef PVOID HDEVINFO;
30 /* Define type for setup file queue */
31 typedef PVOID HSPFILEQ;
33 /* inf structure. */
34 typedef struct _INFCONTEXT
36 PVOID Inf;
37 PVOID CurrentInf;
38 UINT Section;
39 UINT Line;
40 } INFCONTEXT, *PINFCONTEXT;
42 typedef UINT (CALLBACK *PSP_FILE_CALLBACK_A)( PVOID Context, UINT Notification,
43 UINT Param1, UINT Param2 );
44 typedef UINT (CALLBACK *PSP_FILE_CALLBACK_W)( PVOID Context, UINT Notification,
45 UINT Param1, UINT Param2 );
46 #define PSP_FILE_CALLBACK WINELIB_NAME_AW(PSP_FILE_CALLBACK_)
49 /* Device Information structure (references a device instance that is a member
50 of a device information set) */
51 typedef struct _SP_DEVINFO_DATA
53 DWORD cbSize;
54 GUID ClassGuid;
55 DWORD DevInst; /* DEVINST handle */
56 DWORD Reserved;
57 } SP_DEVINFO_DATA, *PSP_DEVINFO_DATA;
59 #endif /* __SETUPAPI__ */