Fix the MHz detection code.
[wine/multimedia.git] / dlls / setupapi / stubs.c
blob7619f52669923e5e0db4ac9ecc44eaca5a422a6e
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #include "wine/debug.h"
22 #include "windef.h"
23 #include "setupapi.h"
25 WINE_DEFAULT_DEBUG_CHANNEL(setupapi);
28 /***********************************************************************
29 * SetupIterateCabinetA (SETUPAPI.@)
31 BOOL WINAPI SetupIterateCabinetA(PCSTR CabinetFile, DWORD Reserved,
32 PSP_FILE_CALLBACK_A MsgHandler, PVOID Context)
34 FIXME("not implemented (setupapi.dll) \n");
35 return 0;
38 /***********************************************************************
39 * SetupIterateCabinetW (SETUPAPI.@)
41 BOOL WINAPI SetupIterateCabinetW(PWSTR CabinetFile, DWORD Reserved,
42 PSP_FILE_CALLBACK_W MsgHandler, PVOID Context)
44 FIXME("not implemented (setupapi.dll) \n");
45 return 0;
49 /***********************************************************************
50 * TPWriteProfileString (SETUPX.62)
52 BOOL WINAPI TPWriteProfileString16( LPCSTR section, LPCSTR entry, LPCSTR string )
54 FIXME( "%s %s %s: stub\n", debugstr_a(section), debugstr_a(entry), debugstr_a(string) );
55 return TRUE;
59 /***********************************************************************
60 * suErrorToIds (SETUPX.61)
62 DWORD WINAPI suErrorToIds16( WORD w1, WORD w2 )
64 FIXME( "%x %x: stub\n", w1, w2 );
65 return 0;
68 /***********************************************************************
69 * SetupDiOpenClassRegKeyExW (SETUPAPI.@)
71 * WINAPI in description not given
73 HKEY WINAPI SetupDiOpenClassRegKeyExW(LPGUID class, DWORD access, DWORD flags, LPCWSTR machine, PVOID reserved)
75 FIXME("\n");
76 return INVALID_HANDLE_VALUE;
79 /***********************************************************************
80 * SetupDiGetClassDescriptionExW (SETUPAPI.@)
82 BOOL WINAPI SetupDiGetClassDescriptionExW (GUID* class, LPCWSTR desc, DWORD size, PDWORD required, LPCWSTR machine, PVOID reserved)
84 FIXME("\n");
85 return FALSE;
88 /***********************************************************************
89 * SetupDiClassNameFromGuidExW (SETUPAPI.@)
91 BOOL WINAPI SetupDiClassNameFromGuidExW (GUID* class, LPCWSTR desc, DWORD size, PDWORD required, LPCWSTR machine, PVOID reserved)
93 FIXME("\n");
94 return FALSE;
97 /***********************************************************************
98 * SetupDiBuildClassInfoListExW (SETUPAPI.@)
100 BOOL WINAPI SetupDiBuildClassInfoListExW(DWORD flags, LPGUID list, DWORD size, PDWORD required, LPCWSTR machine, PVOID reserved)
102 FIXME("\n");
103 return FALSE;
106 /***********************************************************************
107 * SetupDiGetDeviceInfoListDetailW (SETUPAPI.@)
109 BOOL WINAPI SetupDiGetDeviceInfoListDetailW(HDEVINFO devinfo, PSP_DEVINFO_DATA devinfo_data )
111 FIXME("\n");
112 return FALSE;
115 /***********************************************************************
116 * SetupDiCreateDeviceInfoListExW (SETUPAPI.@)
118 HDEVINFO WINAPI SetupDiCreateDeviceInfoListExW(LPGUID class, HWND parend, LPCWSTR machine, PVOID reserved)
120 FIXME("\n");
121 return FALSE;
124 /***********************************************************************
125 * (SETUPAPI.@)
127 * NO WINAPI in description given
129 HDEVINFO WINAPI SetupDiGetClassDevsExW(LPGUID class, LPCWSTR filter, HWND parent, DWORD flags, HDEVINFO deviceset, LPCWSTR machine, PVOID reserved)
131 FIXME("\n");
132 return FALSE;
135 /***********************************************************************
136 * SetupDiClassGuidsFromNameExW (SETUPAPI.@)
138 BOOL WINAPI SetupDiClassGuidsFromNameExW(LPCWSTR class, LPGUID list, DWORD size, PDWORD required, LPCWSTR machine, PVOID reserved)
140 FIXME("\n");
141 return FALSE;
144 /***********************************************************************
145 * CM_Connect_MachineW (SETUPAPI.@)
147 DWORD WINAPI CM_Connect_MachineW(LPCWSTR name, void * machine)
149 #define CR_SUCCESS 0x00000000
150 #define CR_ACCESS_DENIED 0x00000033
151 FIXME("\n");
152 return CR_ACCESS_DENIED;
155 /***********************************************************************
156 * CM_Disconnect_Machine (SETUPAPI.@)
158 DWORD WINAPI CM_Disconnect_Machine(DWORD handle)
160 FIXME("\n");
161 return CR_SUCCESS;
165 /***********************************************************************
166 * SetupCopyOEMInfA (SETUPAPI.@)
168 BOOL WINAPI SetupCopyOEMInfA(LPCSTR sourceinffile, LPCSTR sourcemedialoc,
169 DWORD mediatype, DWORD copystyle, LPSTR destinfname,
170 DWORD destnamesize, PDWORD required,
171 LPSTR destinfnamecomponent)
173 FIXME("stub: source %s location %s ...\n",sourceinffile, sourcemedialoc);
174 return FALSE;
177 /***********************************************************************
178 * InstallHinfSection (SETUPAPI.@)
180 void WINAPI InstallHinfSection(HWND hwnd, HINSTANCE handle, LPCSTR cmdline, INT show)
182 FIXME("stub, hwnd %p, handle %p, cmdline %s\n", hwnd, handle, debugstr_a(cmdline));