2 * SetupAPI device installer
4 * Copyright 2000 Andreas Mohr for CodeWeavers
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
30 #include "wine/debug.h"
33 WINE_DEFAULT_DEBUG_CHANNEL(setupapi
);
35 /***********************************************************************
36 * SetupDiGetDeviceInterfaceDetailA (SETUPAPI.@)
38 BOOL WINAPI
SetupDiGetDeviceInterfaceDetailA(
39 HDEVINFO DeviceInfoSet
,
40 PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData
,
41 PSP_DEVICE_INTERFACE_DETAIL_DATA_A DeviceInterfaceDetailData
,
42 DWORD DeviceInterfaceDetailDataSize
,
44 PSP_DEVINFO_DATA DeviceInfoData
)
50 /***********************************************************************
51 * SetupDiGetDeviceInterfaceDetailW (SETUPAPI.@)
53 BOOL WINAPI
SetupDiGetDeviceInterfaceDetailW(
54 HDEVINFO DeviceInfoSet
,
55 PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData
,
56 PSP_DEVICE_INTERFACE_DETAIL_DATA_W DeviceInterfaceDetailData
,
57 DWORD DeviceInterfaceDetailDataSize
,
59 PSP_DEVINFO_DATA DeviceInfoData
)
65 /***********************************************************************
66 * SetupDiEnumDeviceInterfaces (SETUPAPI.@)
68 BOOL WINAPI
SetupDiEnumDeviceInterfaces(
69 HDEVINFO DeviceInfoSet
,
70 PSP_DEVINFO_DATA DeviceInfoData
,
71 CONST GUID
* InterfaceClassGuid
,
73 PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData
)
79 /***********************************************************************
80 * SetupDiGetClassDevsA (SETUPAPI.@)
82 HDEVINFO WINAPI
SetupDiGetClassDevsA(
88 FIXME("%s %s %p %08lx\n",debugstr_guid(class),enumstr
,parent
,flags
);
90 return (HDEVINFO
) INVALID_HANDLE_VALUE
;
93 /***********************************************************************
94 * SetupDiGetClassDevsW (SETUPAPI.@)
96 HDEVINFO WINAPI
SetupDiGetClassDevsW(
102 FIXME("%s %s %p %08lx\n",debugstr_guid(class),debugstr_w(enumstr
),parent
,flags
);
104 return (HDEVINFO
) INVALID_HANDLE_VALUE
;
106 /***********************************************************************
107 * SetupDiEnumDeviceInfo (SETUPAPI.@)
109 BOOL WINAPI
SetupDiEnumDeviceInfo(
112 PSP_DEVINFO_DATA info
)
114 FIXME("%p %ld %p\n", devinfo
, index
, info
);
118 if(info
->cbSize
< sizeof(*info
))
124 /***********************************************************************
125 * SetupDiDestroyDeviceInfoList (SETUPAPI.@)
127 BOOL WINAPI
SetupDiDestroyDeviceInfoList( HDEVINFO devinfo
)
129 FIXME("%04lx\n", (DWORD
)devinfo
);
133 /***********************************************************************
134 * SetupDiGetDeviceRegistryPropertyA (SETUPAPI.@)
136 BOOL WINAPI
SetupDiGetDeviceRegistryPropertyA(
138 PSP_DEVINFO_DATA DeviceInfoData
,
140 PDWORD PropertyRegDataType
,
141 PBYTE PropertyBuffer
,
142 DWORD PropertyBufferSize
,
145 FIXME("%04lx %p %ld %p %p %ld %p\n", (DWORD
)devinfo
, DeviceInfoData
,
146 Property
, PropertyRegDataType
, PropertyBuffer
, PropertyBufferSize
,