Release 20040408.
[wine.git] / dlls / setupapi / devinst.c
blob7d84bf699f60cd1068a3671ac5bb15b9f9399de4
1 /*
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
21 #include <stdarg.h>
23 #include "windef.h"
24 #include "winbase.h"
25 #include "wingdi.h"
26 #include "winuser.h"
27 #include "winnls.h"
28 #include "winreg.h"
29 #include "setupapi.h"
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,
43 PDWORD RequiredSize,
44 PSP_DEVINFO_DATA DeviceInfoData )
46 FIXME("\n");
47 return FALSE;
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,
58 PDWORD RequiredSize,
59 PSP_DEVINFO_DATA DeviceInfoData )
61 FIXME("\n");
62 return FALSE;
65 /***********************************************************************
66 * SetupDiEnumDeviceInterfaces (SETUPAPI.@)
68 BOOL WINAPI SetupDiEnumDeviceInterfaces(
69 HDEVINFO DeviceInfoSet,
70 PSP_DEVINFO_DATA DeviceInfoData,
71 CONST GUID * InterfaceClassGuid,
72 DWORD MemberIndex,
73 PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData)
75 FIXME("\n");
76 return FALSE;
79 /***********************************************************************
80 * SetupDiGetClassDevsA (SETUPAPI.@)
82 HDEVINFO WINAPI SetupDiGetClassDevsA(
83 CONST GUID *class,
84 LPCSTR enumstr,
85 HWND parent,
86 DWORD flags)
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(
97 CONST GUID *class,
98 LPCWSTR enumstr,
99 HWND parent,
100 DWORD flags)
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(
110 HDEVINFO devinfo,
111 DWORD index,
112 PSP_DEVINFO_DATA info)
114 FIXME("%p %ld %p\n", devinfo, index, info );
116 if(info==NULL)
117 return FALSE;
118 if(info->cbSize < sizeof(*info))
119 return FALSE;
121 return FALSE;
124 /***********************************************************************
125 * SetupDiDestroyDeviceInfoList (SETUPAPI.@)
127 BOOL WINAPI SetupDiDestroyDeviceInfoList( HDEVINFO devinfo )
129 FIXME("%04lx\n", (DWORD)devinfo);
130 return FALSE;
133 /***********************************************************************
134 * SetupDiGetDeviceRegistryPropertyA (SETUPAPI.@)
136 BOOL WINAPI SetupDiGetDeviceRegistryPropertyA(
137 HDEVINFO devinfo,
138 PSP_DEVINFO_DATA DeviceInfoData,
139 DWORD Property,
140 PDWORD PropertyRegDataType,
141 PBYTE PropertyBuffer,
142 DWORD PropertyBufferSize,
143 PDWORD RequiredSize)
145 FIXME("%04lx %p %ld %p %p %ld %p\n", (DWORD)devinfo, DeviceInfoData,
146 Property, PropertyRegDataType, PropertyBuffer, PropertyBufferSize,
147 RequiredSize);
148 return FALSE;