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
24 /* Define type for handle to a loaded inf file */
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
;
34 typedef struct _INFCONTEXT
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
55 DWORD DevInst
; /* DEVINST handle */
57 } SP_DEVINFO_DATA
, *PSP_DEVINFO_DATA
;
59 #endif /* __SETUPAPI__ */