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 * SetupDiGetDeviceInfoListDetailA (SETUPAPI.@)
56 BOOL WINAPI SetupDiGetDeviceInfoListDetailA(HDEVINFO devinfo, PSP_DEVINFO_LIST_DETAIL_DATA_A devinfo_data )
62 /***********************************************************************
63 * SetupDiGetDeviceInfoListDetailW (SETUPAPI.@)
65 BOOL WINAPI SetupDiGetDeviceInfoListDetailW(HDEVINFO devinfo, PSP_DEVINFO_LIST_DETAIL_DATA_W devinfo_data )
71 /***********************************************************************
74 * NO WINAPI in description given
76 HDEVINFO WINAPI SetupDiGetClassDevsExA(const GUID *class, PCSTR filter, HWND parent, DWORD flags, HDEVINFO deviceset, PCSTR machine, PVOID reserved)
78 FIXME("filter %s machine %s\n",debugstr_a(filter),debugstr_a(machine));
82 /***********************************************************************
85 * NO WINAPI in description given
87 HDEVINFO WINAPI SetupDiGetClassDevsExW(const GUID *class, PCWSTR filter, HWND parent, DWORD flags, HDEVINFO deviceset, PCWSTR machine, PVOID reserved)
93 /***********************************************************************
94 * CM_Connect_MachineW (SETUPAPI.@)
96 DWORD WINAPI CM_Connect_MachineW(LPCWSTR name, void * machine)
98 #define CR_SUCCESS 0x00000000
99 #define CR_ACCESS_DENIED 0x00000033
101 return CR_ACCESS_DENIED;
104 /***********************************************************************
105 * CM_Disconnect_Machine (SETUPAPI.@)
107 DWORD WINAPI CM_Disconnect_Machine(DWORD handle)
114 /***********************************************************************
115 * CM_Get_Device_ID_ListA (SETUPAPI.@)
118 DWORD WINAPI CM_Get_Device_ID_ListA(
119 PCSTR pszFilter, PCHAR Buffer, ULONG BufferLen, ULONG ulFlags )
121 FIXME("%p %p %ld %ld\n", pszFilter, Buffer, BufferLen, ulFlags );
127 /***********************************************************************
128 * SetupCopyOEMInfA (SETUPAPI.@)
130 BOOL WINAPI SetupCopyOEMInfA(PCSTR sourceinffile, PCSTR sourcemedialoc,
131 DWORD mediatype, DWORD copystyle, PSTR destinfname,
132 DWORD destnamesize, PDWORD required,
133 PSTR *destinfnamecomponent)
135 FIXME("stub: source %s location %s ...\n", debugstr_a(sourceinffile),
136 debugstr_a(sourcemedialoc));
140 /***********************************************************************
141 * SetupCopyOEMInfW (SETUPAPI.@)
143 BOOL WINAPI SetupCopyOEMInfW(PCWSTR sourceinffile, PCWSTR sourcemedialoc,
144 DWORD mediatype, DWORD copystyle, PWSTR destinfname,
145 DWORD destnamesize, PDWORD required,
146 PWSTR *destinfnamecomponent)
148 FIXME("stub: source %s location %s ...\n", debugstr_w(sourceinffile),
149 debugstr_w(sourcemedialoc));
153 /***********************************************************************
154 * SetupGetInfInformationA (SETUPAPI.@)
156 BOOL WINAPI SetupGetInfInformationA( LPCVOID InfSpec, DWORD SearchControl,
157 PSP_INF_INFORMATION ReturnBuffer,
158 DWORD ReturnBufferSize, PDWORD RequiredSize)
160 FIXME("(%p, %ld, %p, %ld, %p) Stub!\n",
161 InfSpec, SearchControl, ReturnBuffer, ReturnBufferSize, RequiredSize );
165 /***********************************************************************
166 * SetupGetInfInformationW (SETUPAPI.@)
168 BOOL WINAPI SetupGetInfInformationW( LPCVOID InfSpec, DWORD SearchControl,
169 PSP_INF_INFORMATION ReturnBuffer,
170 DWORD ReturnBufferSize, PDWORD RequiredSize)
172 FIXME("(%p, %ld, %p, %ld, %p) Stub!\n",
173 InfSpec, SearchControl, ReturnBuffer, ReturnBufferSize, RequiredSize );
177 /***********************************************************************
178 * SetupQueryInfFileInformationA (SETUPAPI.@)
180 BOOL WINAPI SetupQueryInfFileInformationA(PSP_INF_INFORMATION InfInformation,
181 UINT InfIndex, PSTR ReturnBuffer,
182 DWORD ReturnBufferSize, PDWORD RequiredSize)
184 FIXME("(%p, %u, %p, %ld, %p) Stub!\n",
185 InfInformation, InfIndex, ReturnBuffer, ReturnBufferSize, RequiredSize );
189 /***********************************************************************
190 * SetupQueryInfFileInformationW (SETUPAPI.@)
192 BOOL WINAPI SetupQueryInfFileInformationW(PSP_INF_INFORMATION InfInformation,
193 UINT InfIndex, PWSTR ReturnBuffer,
194 DWORD ReturnBufferSize, PDWORD RequiredSize)
196 FIXME("(%p, %u, %p, %ld, %p) Stub!\n",
197 InfInformation, InfIndex, ReturnBuffer, ReturnBufferSize, RequiredSize );
201 /***********************************************************************
202 * SetupInitializeFileLogW(SETUPAPI.@)
204 HANDLE WINAPI SetupInitializeFileLogW(LPWSTR LogFileName, DWORD Flags)
206 FIXME("Stub %s, 0x%lx\n",debugstr_w(LogFileName),Flags);
207 return INVALID_HANDLE_VALUE;
210 /***********************************************************************
211 * SetupInitializeFileLogA(SETUPAPI.@)
213 HANDLE WINAPI SetupInitializeFileLogA(LPSTR LogFileName, DWORD Flags)
215 FIXME("Stub %s, 0x%lx\n",debugstr_a(LogFileName),Flags);
216 return INVALID_HANDLE_VALUE;
219 /***********************************************************************
220 * SetupTerminateFileLog(SETUPAPI.@)
222 BOOL WINAPI SetupTerminateFileLog(HANDLE FileLogHandle)
224 FIXME ("Stub %p\n",FileLogHandle);