source: trunk/src/setupapi/stubs.c@ 9403

Last change on this file since 9403 was 9403, checked in by sandervl, 23 years ago

Wine resync

File size: 4.8 KB
Line 
1/*
2 * SetupAPI stubs
3 *
4 * Copyright 2000 James Hatheway
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
19 */
20
21#include "wine/debug.h"
22#include "windef.h"
23#include "setupapi.h"
24
25WINE_DEFAULT_DEBUG_CHANNEL(setupapi);
26
27
28/***********************************************************************
29 * SetupIterateCabinetA (SETUPAPI.@)
30 */
31BOOL WINAPI SetupIterateCabinetA(PCSTR CabinetFile, DWORD Reserved,
32 PSP_FILE_CALLBACK_A MsgHandler, PVOID Context)
33{
34 FIXME("not implemented (setupapi.dll) \n");
35 return 0;
36}
37
38/***********************************************************************
39 * SetupIterateCabinetW (SETUPAPI.@)
40 */
41BOOL WINAPI SetupIterateCabinetW(PWSTR CabinetFile, DWORD Reserved,
42 PSP_FILE_CALLBACK_W MsgHandler, PVOID Context)
43{
44 FIXME("not implemented (setupapi.dll) \n");
45 return 0;
46}
47
48
49/***********************************************************************
50 * TPWriteProfileString (SETUPX.62)
51 */
52BOOL WINAPI TPWriteProfileString16( LPCSTR section, LPCSTR entry, LPCSTR string )
53{
54 FIXME( "%s %s %s: stub\n", debugstr_a(section), debugstr_a(entry), debugstr_a(string) );
55 return TRUE;
56}
57
58
59/***********************************************************************
60 * suErrorToIds (SETUPX.61)
61 */
62DWORD WINAPI suErrorToIds16( WORD w1, WORD w2 )
63{
64 FIXME( "%x %x: stub\n", w1, w2 );
65 return 0;
66}
67
68/***********************************************************************
69 * SetupDiOpenClassRegKeyExW (SETUPAPI.@)
70 *
71 * WINAPI in description not given
72 */
73HKEY WINAPI SetupDiOpenClassRegKeyExW(LPGUID lpClass, DWORD access, DWORD flags, LPCWSTR machine, PVOID reserved)
74{
75 FIXME("\n");
76 return INVALID_HANDLE_VALUE;
77}
78
79/***********************************************************************
80 * SetupDiGetClassDescriptionExW (SETUPAPI.@)
81 */
82BOOL WINAPI SetupDiGetClassDescriptionExW (GUID* lpClass, LPCWSTR desc, DWORD size, PDWORD required, LPCWSTR machine, PVOID reserved)
83{
84 FIXME("\n");
85 return FALSE;
86}
87
88/***********************************************************************
89 * SetupDiClassNameFromGuidExW (SETUPAPI.@)
90 */
91BOOL WINAPI SetupDiClassNameFromGuidExW (GUID* lpClass, LPCWSTR desc, DWORD size, PDWORD required, LPCWSTR machine, PVOID reserved)
92{
93 FIXME("\n");
94 return FALSE;
95}
96
97/***********************************************************************
98 * SetupDiBuildClassInfoListExW (SETUPAPI.@)
99 */
100BOOL WINAPI SetupDiBuildClassInfoListExW(DWORD flags, LPGUID list, DWORD size, PDWORD required, LPCWSTR machine, PVOID reserved)
101{
102 FIXME("\n");
103 return FALSE;
104}
105
106/***********************************************************************
107 * SetupDiGetDeviceInfoListDetailW (SETUPAPI.@)
108 */
109BOOL WINAPI SetupDiGetDeviceInfoListDetailW(HDEVINFO devinfo, PSP_DEVINFO_DATA devinfo_data )
110{
111 FIXME("\n");
112 return FALSE;
113}
114
115/***********************************************************************
116 * SetupDiCreateDeviceInfoListExW (SETUPAPI.@)
117 */
118HDEVINFO WINAPI SetupDiCreateDeviceInfoListExW(LPGUID lpClass, HWND parend, LPCWSTR machine, PVOID reserved)
119{
120 FIXME("\n");
121 return FALSE;
122}
123
124/***********************************************************************
125 * (SETUPAPI.@)
126 *
127 * NO WINAPI in description given
128 */
129HDEVINFO WINAPI SetupDiGetClassDevsExW(LPGUID lpClass, LPCWSTR filter, HWND parent, DWORD flags, HDEVINFO deviceset, LPCWSTR machine, PVOID reserved)
130{
131 FIXME("\n");
132 return FALSE;
133}
134
135/***********************************************************************
136 * SetupDiClassGuidsFromNameExW (SETUPAPI.@)
137 */
138BOOL WINAPI SetupDiClassGuidsFromNameExW(LPCWSTR lpClass, LPGUID list, DWORD size, PDWORD required, LPCWSTR machine, PVOID reserved)
139{
140 FIXME("\n");
141 return FALSE;
142}
143
144/***********************************************************************
145 * CM_Connect_MachineW (SETUPAPI.@)
146 */
147DWORD WINAPI CM_Connect_MachineW(LPCWSTR name, void * machine)
148{
149#define CR_SUCCESS 0x00000000
150#define CR_ACCESS_DENIED 0x00000033
151 FIXME("\n");
152 return CR_ACCESS_DENIED;
153}
154
155/***********************************************************************
156 * CM_Disconnect_Machine (SETUPAPI.@)
157 */
158DWORD WINAPI CM_Disconnect_Machine(DWORD handle)
159{
160 FIXME("\n");
161 return CR_SUCCESS;
162
163}
Note: See TracBrowser for help on using the repository browser.