4 * Copyright 2000 James Hatheway
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"
32 WINE_DEFAULT_DEBUG_CHANNEL(setupapi
);
34 /***********************************************************************
35 * TPWriteProfileString (SETUPX.62)
37 BOOL WINAPI
TPWriteProfileString16( LPCSTR section
, LPCSTR entry
, LPCSTR string
)
39 FIXME( "%s %s %s: stub\n", debugstr_a(section
), debugstr_a(entry
), debugstr_a(string
) );
44 /***********************************************************************
45 * suErrorToIds (SETUPX.61)
47 DWORD WINAPI
suErrorToIds16( WORD w1
, WORD w2
)
49 FIXME( "%x %x: stub\n", w1
, w2
);
53 /***********************************************************************
54 * SetupDiOpenClassRegKeyExW (SETUPAPI.@)
56 * WINAPI in description not given
58 HKEY WINAPI
SetupDiOpenClassRegKeyExW(const GUID
* class, REGSAM access
, DWORD flags
, PCWSTR machine
, PVOID reserved
)
61 return INVALID_HANDLE_VALUE
;
64 /***********************************************************************
65 * SetupDiGetClassDescriptionExW (SETUPAPI.@)
67 BOOL WINAPI
SetupDiGetClassDescriptionExW (const GUID
* class, PWSTR desc
, DWORD size
, PDWORD required
, PCWSTR machine
, PVOID reserved
)
73 /***********************************************************************
74 * SetupDiClassNameFromGuidExW (SETUPAPI.@)
76 BOOL WINAPI
SetupDiClassNameFromGuidExW (const GUID
* class, PWSTR desc
, DWORD size
, PDWORD required
, PCWSTR machine
, PVOID reserved
)
82 /***********************************************************************
83 * SetupDiBuildClassInfoListExW (SETUPAPI.@)
85 BOOL WINAPI
SetupDiBuildClassInfoListExW(DWORD flags
, LPGUID list
, DWORD size
, PDWORD required
, LPCWSTR machine
, PVOID reserved
)
91 /***********************************************************************
92 * SetupDiGetDeviceInfoListDetailA (SETUPAPI.@)
94 BOOL WINAPI
SetupDiGetDeviceInfoListDetailA(HDEVINFO devinfo
, PSP_DEVINFO_LIST_DETAIL_DATA_A devinfo_data
)
100 /***********************************************************************
101 * SetupDiGetDeviceInfoListDetailW (SETUPAPI.@)
103 BOOL WINAPI
SetupDiGetDeviceInfoListDetailW(HDEVINFO devinfo
, PSP_DEVINFO_LIST_DETAIL_DATA_W devinfo_data
)
109 /***********************************************************************
110 * SetupDiCreateDeviceInfoListA (SETUPAPI.@)
112 HDEVINFO WINAPI
SetupDiCreateDeviceInfoList(const GUID
*class, HWND parend
)
118 /***********************************************************************
119 * SetupDiCreateDeviceInfoListExW (SETUPAPI.@)
121 HDEVINFO WINAPI
SetupDiCreateDeviceInfoListExW(const GUID
*class, HWND parend
, PCWSTR machine
, PVOID reserved
)
127 /***********************************************************************
130 * NO WINAPI in description given
132 HDEVINFO WINAPI
SetupDiGetClassDevsExA(const GUID
*class, PCSTR filter
, HWND parent
, DWORD flags
, HDEVINFO deviceset
, PCSTR machine
, PVOID reserved
)
134 FIXME("filter %s machine %s\n",debugstr_a(filter
),debugstr_a(machine
));
138 /***********************************************************************
141 * NO WINAPI in description given
143 HDEVINFO WINAPI
SetupDiGetClassDevsExW(const GUID
*class, PCWSTR filter
, HWND parent
, DWORD flags
, HDEVINFO deviceset
, PCWSTR machine
, PVOID reserved
)
149 /***********************************************************************
150 * SetupDiClassGuidsFromNameExW (SETUPAPI.@)
152 BOOL WINAPI
SetupDiClassGuidsFromNameExW(LPCWSTR
class, LPGUID list
, DWORD size
, PDWORD required
, LPCWSTR machine
, PVOID reserved
)
158 /***********************************************************************
159 * CM_Connect_MachineW (SETUPAPI.@)
161 DWORD WINAPI
CM_Connect_MachineW(LPCWSTR name
, void * machine
)
163 #define CR_SUCCESS 0x00000000
164 #define CR_ACCESS_DENIED 0x00000033
166 return CR_ACCESS_DENIED
;
169 /***********************************************************************
170 * CM_Disconnect_Machine (SETUPAPI.@)
172 DWORD WINAPI
CM_Disconnect_Machine(DWORD handle
)
179 /***********************************************************************
180 * CM_Get_Device_ID_ListA (SETUPAPI.@)
183 DWORD WINAPI
CM_Get_Device_ID_ListA(
184 PCSTR pszFilter
, PCHAR Buffer
, ULONG BufferLen
, ULONG ulFlags
)
186 FIXME("%p %p %ld %ld\n", pszFilter
, Buffer
, BufferLen
, ulFlags
);
192 /***********************************************************************
193 * SetupCopyOEMInfA (SETUPAPI.@)
195 BOOL WINAPI
SetupCopyOEMInfA(PCSTR sourceinffile
, PCSTR sourcemedialoc
,
196 DWORD mediatype
, DWORD copystyle
, PSTR destinfname
,
197 DWORD destnamesize
, PDWORD required
,
198 PSTR
*destinfnamecomponent
)
200 FIXME("stub: source %s location %s ...\n",sourceinffile
, sourcemedialoc
);
204 /***********************************************************************
205 * SetupGetInfInformationA (SETUPAPI.@)
207 BOOL WINAPI
SetupGetInfInformationA( LPCVOID InfSpec
, DWORD SearchControl
,
208 PSP_INF_INFORMATION ReturnBuffer
,
209 DWORD ReturnBufferSize
, PDWORD RequiredSize
)
211 FIXME("(%p, %ld, %p, %ld, %p) Stub!\n",
212 InfSpec
, SearchControl
, ReturnBuffer
, ReturnBufferSize
, RequiredSize
);
216 /***********************************************************************
217 * SetupInitializeFileLogW(SETUPAPI.@)
219 HANDLE WINAPI
SetupInitializeFileLogW(LPWSTR LogFileName
, DWORD Flags
)
221 FIXME("Stub %s, 0x%lx\n",debugstr_w(LogFileName
),Flags
);
222 return INVALID_HANDLE_VALUE
;
225 /***********************************************************************
226 * SetupInitializeFileLogA(SETUPAPI.@)
228 HANDLE WINAPI
SetupInitializeFileLogA(LPSTR LogFileName
, DWORD Flags
)
230 FIXME("Stub %s, 0x%lx\n",debugstr_a(LogFileName
),Flags
);
231 return INVALID_HANDLE_VALUE
;
234 /***********************************************************************
235 * SetupTerminateFileLog(SETUPAPI.@)
237 BOOL WINAPI
SetupTerminateFileLog(HANDLE FileLogHandle
)
239 FIXME ("Stub %p\n",FileLogHandle
);