Allow specification of "DLLMODE=native" for native dlls.
[wine] / dlls / setupapi / devinst.c
CommitLineData
559f4321
AM
1/*
2 * SetupAPI device installer
3 *
ae500130 4 * Copyright 2000 Andreas Mohr for CodeWeavers
0799c1a7
AJ
5 *
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.
10 *
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.
15 *
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
559f4321
AM
19 */
20
e37c6e18
AJ
21#include <stdarg.h>
22
559f4321 23#include "windef.h"
1922c72b 24#include "winbase.h"
e37c6e18
AJ
25#include "wingdi.h"
26#include "winuser.h"
27#include "winnls.h"
b2b72628 28#include "winreg.h"
a8693258 29#include "setupapi.h"
b2b72628
SE
30#include "wine/debug.h"
31
559f4321 32
0799c1a7 33WINE_DEFAULT_DEBUG_CHANNEL(setupapi);
559f4321 34
296c5a6b
PS
35/***********************************************************************
36 * SetupDiGetDeviceInterfaceDetailA (SETUPAPI.@)
37 */
a8693258
MM
38BOOL WINAPI SetupDiGetDeviceInterfaceDetailA(
39 HDEVINFO DeviceInfoSet,
40 PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData,
c48c1647 41 PSP_DEVICE_INTERFACE_DETAIL_DATA_A DeviceInterfaceDetailData,
a8693258 42 DWORD DeviceInterfaceDetailDataSize,
9a624916 43 PDWORD RequiredSize,
a8693258
MM
44 PSP_DEVINFO_DATA DeviceInfoData )
45{
46 FIXME("\n");
47 return FALSE;
48}
49
296c5a6b
PS
50/***********************************************************************
51 * SetupDiGetDeviceInterfaceDetailW (SETUPAPI.@)
52 */
a8693258
MM
53BOOL WINAPI SetupDiGetDeviceInterfaceDetailW(
54 HDEVINFO DeviceInfoSet,
55 PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData,
c48c1647 56 PSP_DEVICE_INTERFACE_DETAIL_DATA_W DeviceInterfaceDetailData,
a8693258 57 DWORD DeviceInterfaceDetailDataSize,
9a624916 58 PDWORD RequiredSize,
a8693258
MM
59 PSP_DEVINFO_DATA DeviceInfoData )
60{
61 FIXME("\n");
62 return FALSE;
63}
64
296c5a6b
PS
65/***********************************************************************
66 * SetupDiEnumDeviceInterfaces (SETUPAPI.@)
67 */
a8693258
MM
68BOOL WINAPI SetupDiEnumDeviceInterfaces(
69 HDEVINFO DeviceInfoSet,
9a624916 70 PSP_DEVINFO_DATA DeviceInfoData,
a8693258
MM
71 CONST GUID * InterfaceClassGuid,
72 DWORD MemberIndex,
73 PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData)
74{
75 FIXME("\n");
76 return FALSE;
77}
78
296c5a6b
PS
79/***********************************************************************
80 * SetupDiGetClassDevsA (SETUPAPI.@)
81 */
a8693258
MM
82HDEVINFO WINAPI SetupDiGetClassDevsA(
83 CONST GUID *class,
84 LPCSTR enumstr,
85 HWND parent,
86 DWORD flags)
87{
b34fb35b 88 FIXME("%s %s %p %08lx\n",debugstr_guid(class),enumstr,parent,flags);
a8693258 89
cee34aa5 90 return (HDEVINFO) INVALID_HANDLE_VALUE;
a8693258
MM
91}
92
cee34aa5
SL
93/***********************************************************************
94 * SetupDiGetClassDevsW (SETUPAPI.@)
95 */
96HDEVINFO WINAPI SetupDiGetClassDevsW(
97 CONST GUID *class,
98 LPCWSTR enumstr,
99 HWND parent,
100 DWORD flags)
101{
b34fb35b 102 FIXME("%s %s %p %08lx\n",debugstr_guid(class),debugstr_w(enumstr),parent,flags);
cee34aa5
SL
103
104 return (HDEVINFO) INVALID_HANDLE_VALUE;
105}
296c5a6b
PS
106/***********************************************************************
107 * SetupDiEnumDeviceInfo (SETUPAPI.@)
108 */
a8693258
MM
109BOOL WINAPI SetupDiEnumDeviceInfo(
110 HDEVINFO devinfo,
111 DWORD index,
112 PSP_DEVINFO_DATA info)
113{
114 FIXME("%p %ld %p\n", devinfo, index, info );
115
116 if(info==NULL)
117 return FALSE;
9591836f 118 if(info->cbSize < sizeof(*info))
a8693258
MM
119 return FALSE;
120
121 return FALSE;
122}
123
296c5a6b
PS
124/***********************************************************************
125 * SetupDiDestroyDeviceInfoList (SETUPAPI.@)
126 */
a8693258
MM
127BOOL WINAPI SetupDiDestroyDeviceInfoList( HDEVINFO devinfo )
128{
129 FIXME("%04lx\n", (DWORD)devinfo);
130 return FALSE;
131}
132
296c5a6b
PS
133/***********************************************************************
134 * SetupDiGetDeviceRegistryPropertyA (SETUPAPI.@)
135 */
a8693258
MM
136BOOL 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)
144{
9a624916 145 FIXME("%04lx %p %ld %p %p %ld %p\n", (DWORD)devinfo, DeviceInfoData,
a8693258
MM
146 Property, PropertyRegDataType, PropertyBuffer, PropertyBufferSize,
147 RequiredSize);
148 return FALSE;
149}