2002-03-10 00:29:33 +01:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2000 James Hatheway
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
2000-11-06 21:24:43 +01:00
|
|
|
|
|
|
|
#ifndef __SETUPAPI__
|
|
|
|
#define __SETUPAPI__
|
|
|
|
|
2001-01-17 21:17:46 +01:00
|
|
|
#include "commctrl.h"
|
|
|
|
|
2000-11-06 21:24:43 +01:00
|
|
|
/* Define type for handle to a loaded inf file */
|
|
|
|
typedef PVOID HINF;
|
|
|
|
|
|
|
|
/* Define type for handle to a device information set */
|
|
|
|
typedef PVOID HDEVINFO;
|
|
|
|
|
2001-01-17 21:17:46 +01:00
|
|
|
/* Define type for setup file queue */
|
|
|
|
typedef PVOID HSPFILEQ;
|
|
|
|
|
2000-11-06 21:24:43 +01:00
|
|
|
/* inf structure. */
|
|
|
|
typedef struct _INFCONTEXT
|
|
|
|
{
|
|
|
|
PVOID Inf;
|
|
|
|
PVOID CurrentInf;
|
|
|
|
UINT Section;
|
|
|
|
UINT Line;
|
|
|
|
} INFCONTEXT, *PINFCONTEXT;
|
|
|
|
|
2002-02-01 00:22:07 +01:00
|
|
|
typedef UINT (CALLBACK *PSP_FILE_CALLBACK_A)( PVOID Context, UINT Notification,
|
2001-01-17 21:17:46 +01:00
|
|
|
UINT Param1, UINT Param2 );
|
2002-02-01 00:22:07 +01:00
|
|
|
typedef UINT (CALLBACK *PSP_FILE_CALLBACK_W)( PVOID Context, UINT Notification,
|
2001-01-17 21:17:46 +01:00
|
|
|
UINT Param1, UINT Param2 );
|
|
|
|
#define PSP_FILE_CALLBACK WINELIB_NAME_AW(PSP_FILE_CALLBACK_)
|
|
|
|
|
|
|
|
|
2000-11-06 21:24:43 +01:00
|
|
|
/* Device Information structure (references a device instance that is a member
|
|
|
|
of a device information set) */
|
|
|
|
typedef struct _SP_DEVINFO_DATA
|
|
|
|
{
|
|
|
|
DWORD cbSize;
|
|
|
|
GUID ClassGuid;
|
|
|
|
DWORD DevInst; /* DEVINST handle */
|
|
|
|
DWORD Reserved;
|
|
|
|
} SP_DEVINFO_DATA, *PSP_DEVINFO_DATA;
|
|
|
|
|
2001-01-17 21:17:46 +01:00
|
|
|
#endif /* __SETUPAPI__ */
|