user32: Fix user_thread_info for 64-bits
[wine/wine64.git] / dlls / setupapi / stubs.c
blob9a56fd0c8ddf59d0c8299ddc952a72b8f914cdab
1 /*
2 * SetupAPI stubs
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include <stdarg.h>
23 #include "wine/debug.h"
24 #include "windef.h"
25 #include "winbase.h"
26 #include "wingdi.h"
27 #include "winuser.h"
28 #include "winreg.h"
29 #include "cfgmgr32.h"
30 #include "setupapi.h"
31 #include "winnls.h"
33 WINE_DEFAULT_DEBUG_CHANNEL(setupapi);
35 /***********************************************************************
36 * TPWriteProfileString (SETUPX.62)
38 BOOL WINAPI TPWriteProfileString16( LPCSTR section, LPCSTR entry, LPCSTR string )
40 FIXME( "%s %s %s: stub\n", debugstr_a(section), debugstr_a(entry), debugstr_a(string) );
41 return TRUE;
45 /***********************************************************************
46 * suErrorToIds (SETUPX.61)
48 DWORD WINAPI suErrorToIds16( WORD w1, WORD w2 )
50 FIXME( "%x %x: stub\n", w1, w2 );
51 return 0;
54 /***********************************************************************
55 * CM_Connect_MachineW (SETUPAPI.@)
57 CONFIGRET WINAPI CM_Connect_MachineW(PCWSTR name, PHMACHINE machine)
59 FIXME("\n");
60 return CR_ACCESS_DENIED;
63 /***********************************************************************
64 * CM_Disconnect_Machine (SETUPAPI.@)
66 CONFIGRET WINAPI CM_Disconnect_Machine(HMACHINE handle)
68 FIXME("\n");
69 return CR_SUCCESS;
73 /***********************************************************************
74 * CM_Get_Device_ID_ListA (SETUPAPI.@)
77 CONFIGRET WINAPI CM_Get_Device_ID_ListA(
78 PCSTR pszFilter, PCHAR Buffer, ULONG BufferLen, ULONG ulFlags )
80 FIXME("%p %p %d %d\n", pszFilter, Buffer, BufferLen, ulFlags );
81 memset(Buffer,0,2);
82 return CR_SUCCESS;
85 /***********************************************************************
86 * CM_Get_Parent (SETUPAPI.@)
88 DWORD WINAPI CM_Get_Parent(PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags)
90 FIXME("%p 0x%08x 0x%08x stub\n", pdnDevInst, dnDevInst, ulFlags);
91 *pdnDevInst = dnDevInst;
92 return CR_SUCCESS;
95 /***********************************************************************
96 * SetupInitializeFileLogW(SETUPAPI.@)
98 HSPFILELOG WINAPI SetupInitializeFileLogW(LPCWSTR LogFileName, DWORD Flags)
100 FIXME("Stub %s, 0x%x\n",debugstr_w(LogFileName),Flags);
101 return INVALID_HANDLE_VALUE;
104 /***********************************************************************
105 * SetupInitializeFileLogA(SETUPAPI.@)
107 HSPFILELOG WINAPI SetupInitializeFileLogA(LPCSTR LogFileName, DWORD Flags)
109 FIXME("Stub %s, 0x%x\n",debugstr_a(LogFileName),Flags);
110 return INVALID_HANDLE_VALUE;
113 /***********************************************************************
114 * SetupTerminateFileLog(SETUPAPI.@)
116 BOOL WINAPI SetupTerminateFileLog(HANDLE FileLogHandle)
118 FIXME ("Stub %p\n",FileLogHandle);
119 return TRUE;
122 /***********************************************************************
123 * RegistryDelnode(SETUPAPI.@)
125 BOOL WINAPI RegistryDelnode(DWORD x, DWORD y)
127 FIXME("%08x %08x: stub\n", x, y);
128 return FALSE;
131 /***********************************************************************
132 * SetupCloseLog(SETUPAPI.@)
134 void WINAPI SetupCloseLog(void)
136 FIXME("() stub\n");
139 /***********************************************************************
140 * SetupLogErrorW(SETUPAPI.@)
142 BOOL WINAPI SetupLogErrorW(LPCWSTR MessageString, LogSeverity Severity)
144 FIXME("(%s, %d) stub\n", debugstr_w(MessageString), Severity);
145 return TRUE;
148 /***********************************************************************
149 * SetupOpenLog(SETUPAPI.@)
151 BOOL WINAPI SetupOpenLog(BOOL Reserved)
153 FIXME("(%d) stub\n", Reserved);
154 return TRUE;
157 /***********************************************************************
158 * SetupPromptReboot(SETUPAPI.@)
160 INT WINAPI SetupPromptReboot( HSPFILEQ file_queue, HWND owner, BOOL scan_only )
162 FIXME("%p, %p, %d\n", file_queue, owner, scan_only);
163 return 0;
166 /***********************************************************************
167 * SetupSetSourceListA (SETUPAPI.@)
169 BOOL WINAPI SetupSetSourceListA(DWORD flags, PCSTR *list, UINT count)
171 FIXME("0x%08x %p %d\n", flags, list, count);
172 return FALSE;
175 /***********************************************************************
176 * SetupSetSourceListW (SETUPAPI.@)
178 BOOL WINAPI SetupSetSourceListW(DWORD flags, PCWSTR *list, UINT count)
180 FIXME("0x%08x %p %d\n", flags, list, count);
181 return FALSE;
184 /***********************************************************************
185 * SetupDiGetINFClassA (SETUPAPI.@)
187 BOOL WINAPI SetupDiGetINFClassA(PCSTR inf, LPGUID class_guid, PSTR class_name,
188 DWORD size, PDWORD required_size)
190 FIXME("%s %p %p %d %p\n", debugstr_a(inf), class_guid, class_name, size, required_size);
191 return FALSE;
194 /***********************************************************************
195 * SetupDiGetINFClassW (SETUPAPI.@)
197 BOOL WINAPI SetupDiGetINFClassW(PCWSTR inf, LPGUID class_guid, PWSTR class_name,
198 DWORD size, PDWORD required_size)
200 FIXME("%s %p %p %d %p\n", debugstr_w(inf), class_guid, class_name, size, required_size);
201 return FALSE;
204 /***********************************************************************
205 * SetupPromptForDiskA (SETUPAPI.@)
207 UINT WINAPI SetupPromptForDiskA(HWND hwndParent, PCSTR DialogTitle, PCSTR DiskName,
208 PCSTR PathToSource, PCSTR FileSought, PCSTR TagFile, DWORD DiskPromptStyle,
209 PSTR PathBuffer, DWORD PathBufferSize, PDWORD PathRequiredSize)
211 FIXME("%p %s %s %s %s %s %d %p %d %p: stub\n", hwndParent, debugstr_a(DialogTitle),
212 debugstr_a(DiskName), debugstr_a(PathToSource), debugstr_a(FileSought),
213 debugstr_a(TagFile), DiskPromptStyle, PathBuffer, PathBufferSize,
214 PathRequiredSize);
215 return 0;
218 /***********************************************************************
219 * SetupPromptForDiskW (SETUPAPI.@)
221 UINT WINAPI SetupPromptForDiskW(HWND hwndParent, PCWSTR DialogTitle, PCWSTR DiskName,
222 PCWSTR PathToSource, PCWSTR FileSought, PCWSTR TagFile, DWORD DiskPromptStyle,
223 PWSTR PathBuffer, DWORD PathBufferSize, PDWORD PathRequiredSize)
225 FIXME("%p %s %s %s %s %s %d %p %d %p: stub\n", hwndParent, debugstr_w(DialogTitle),
226 debugstr_w(DiskName), debugstr_w(PathToSource), debugstr_w(FileSought),
227 debugstr_w(TagFile), DiskPromptStyle, PathBuffer, PathBufferSize,
228 PathRequiredSize);
229 return 0;
232 /***********************************************************************
233 * CM_Locate_DevNodeA (SETUPAPI.@)
235 CONFIGRET WINAPI CM_Locate_DevNodeA(PDEVINST pdnDevInst, DEVINSTID_A pDeviceID, ULONG ulFlags)
237 FIXME("%p %s 0x%08x: stub\n", pdnDevInst, debugstr_a(pDeviceID), ulFlags);
239 return CR_FAILURE;
242 /***********************************************************************
243 * CM_Locate_DevNodeW (SETUPAPI.@)
245 CONFIGRET WINAPI CM_Locate_DevNodeW(PDEVINST pdnDevInst, DEVINSTID_W pDeviceID, ULONG ulFlags)
247 FIXME("%p %s 0x%08x: stub\n", pdnDevInst, debugstr_w(pDeviceID), ulFlags);
249 return CR_FAILURE;