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
23 #include "wine/debug.h"
26 WINE_DEFAULT_DEBUG_CHANNEL(setupapi
);
28 /***********************************************************************
29 * SetupDiGetDeviceInterfaceDetailA (SETUPAPI.@)
31 BOOL WINAPI
SetupDiGetDeviceInterfaceDetailA(
32 HDEVINFO DeviceInfoSet
,
33 PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData
,
34 PSP_DEVICE_INTERFACE_DETAIL_DATAA DeviceInterfaceDetailData
,
35 DWORD DeviceInterfaceDetailDataSize
,
37 PSP_DEVINFO_DATA DeviceInfoData
)
43 /***********************************************************************
44 * SetupDiGetDeviceInterfaceDetailW (SETUPAPI.@)
46 BOOL WINAPI
SetupDiGetDeviceInterfaceDetailW(
47 HDEVINFO DeviceInfoSet
,
48 PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData
,
49 PSP_DEVICE_INTERFACE_DETAIL_DATAW DeviceInterfaceDetailData
,
50 DWORD DeviceInterfaceDetailDataSize
,
52 PSP_DEVINFO_DATA DeviceInfoData
)
58 /***********************************************************************
59 * SetupDiEnumDeviceInterfaces (SETUPAPI.@)
61 BOOL WINAPI
SetupDiEnumDeviceInterfaces(
62 HDEVINFO DeviceInfoSet
,
63 PSP_DEVINFO_DATA DeviceInfoData
,
64 CONST GUID
* InterfaceClassGuid
,
66 PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData
)
72 /***********************************************************************
73 * SetupDiGetClassDevsA (SETUPAPI.@)
75 HDEVINFO WINAPI
SetupDiGetClassDevsA(
81 FIXME("%s %s %p %08lx\n",debugstr_guid(class),enumstr
,parent
,flags
);
83 return (HDEVINFO
) INVALID_HANDLE_VALUE
;
86 /***********************************************************************
87 * SetupDiGetClassDevsW (SETUPAPI.@)
89 HDEVINFO WINAPI
SetupDiGetClassDevsW(
95 FIXME("%s %s %p %08lx\n",debugstr_guid(class),debugstr_w(enumstr
),parent
,flags
);
97 return (HDEVINFO
) INVALID_HANDLE_VALUE
;
99 /***********************************************************************
100 * SetupDiEnumDeviceInfo (SETUPAPI.@)
102 BOOL WINAPI
SetupDiEnumDeviceInfo(
105 PSP_DEVINFO_DATA info
)
107 FIXME("%p %ld %p\n", devinfo
, index
, info
);
111 if(info
->cbSize
< sizeof *info
)
117 /***********************************************************************
118 * SetupDiDestroyDeviceInfoList (SETUPAPI.@)
120 BOOL WINAPI
SetupDiDestroyDeviceInfoList( HDEVINFO devinfo
)
122 FIXME("%04lx\n", (DWORD
)devinfo
);
126 /***********************************************************************
127 * SetupDiGetDeviceRegistryPropertyA (SETUPAPI.@)
129 BOOL WINAPI
SetupDiGetDeviceRegistryPropertyA(
131 PSP_DEVINFO_DATA DeviceInfoData
,
133 PDWORD PropertyRegDataType
,
134 PBYTE PropertyBuffer
,
135 DWORD PropertyBufferSize
,
138 FIXME("%04lx %p %ld %p %p %ld %p\n", (DWORD
)devinfo
, DeviceInfoData
,
139 Property
, PropertyRegDataType
, PropertyBuffer
, PropertyBufferSize
,