Add support for specific EOI PIC command.
[wine] / dlls / setupapi / stubs.c
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
25 WINE_DEFAULT_DEBUG_CHANNEL(setupapi);
26
27 /***********************************************************************
28  *              TPWriteProfileString (SETUPX.62)
29  */
30 BOOL WINAPI TPWriteProfileString16( LPCSTR section, LPCSTR entry, LPCSTR string )
31 {
32     FIXME( "%s %s %s: stub\n", debugstr_a(section), debugstr_a(entry), debugstr_a(string) );
33     return TRUE;
34 }
35
36
37 /***********************************************************************
38  *              suErrorToIds  (SETUPX.61)
39  */
40 DWORD WINAPI suErrorToIds16( WORD w1, WORD w2 )
41 {
42     FIXME( "%x %x: stub\n", w1, w2 );
43     return 0;
44 }
45
46 /***********************************************************************
47  *              SetupDiOpenClassRegKeyExW  (SETUPAPI.@)
48  *
49  * WINAPI in description not given
50  */
51 HKEY WINAPI SetupDiOpenClassRegKeyExW(LPGUID class, DWORD access, DWORD flags, LPCWSTR  machine, PVOID reserved)
52 {
53   FIXME("\n");
54   return INVALID_HANDLE_VALUE;
55 }
56
57 /***********************************************************************
58  *              SetupDiGetClassDescriptionExW  (SETUPAPI.@)
59  */
60 BOOL WINAPI SetupDiGetClassDescriptionExW (GUID* class, LPCWSTR desc, DWORD size, PDWORD required, LPCWSTR  machine, PVOID reserved)
61 {
62   FIXME("\n");
63   return FALSE;
64 }
65
66 /***********************************************************************
67  *              SetupDiClassNameFromGuidExW  (SETUPAPI.@)
68  */
69 BOOL WINAPI SetupDiClassNameFromGuidExW (GUID* class, LPCWSTR desc, DWORD size, PDWORD required, LPCWSTR  machine, PVOID reserved)
70 {
71   FIXME("\n");
72   return FALSE;
73 }
74
75 /***********************************************************************
76  *              SetupDiBuildClassInfoListExW  (SETUPAPI.@)
77  */
78 BOOL WINAPI SetupDiBuildClassInfoListExW(DWORD flags, LPGUID list, DWORD size, PDWORD required,  LPCWSTR  machine, PVOID reserved)
79 {
80   FIXME("\n");
81   return FALSE;
82 }
83
84 /***********************************************************************
85  *              SetupDiGetDeviceInfoListDetailW  (SETUPAPI.@)
86  */
87 BOOL WINAPI SetupDiGetDeviceInfoListDetailW(HDEVINFO devinfo, PSP_DEVINFO_DATA devinfo_data )
88 {
89   FIXME("\n");
90   return FALSE;
91 }
92
93 /***********************************************************************
94  *              SetupDiCreateDeviceInfoListExW  (SETUPAPI.@)
95  */
96 HDEVINFO WINAPI SetupDiCreateDeviceInfoListExW(LPGUID class, HWND parend, LPCWSTR machine, PVOID reserved)
97 {
98   FIXME("\n");
99   return FALSE;
100 }
101
102 /***********************************************************************
103  *                (SETUPAPI.@)
104  *
105  * NO WINAPI in description given
106  */
107 HDEVINFO WINAPI SetupDiGetClassDevsExW(LPGUID class, LPCWSTR filter, HWND parent, DWORD flags, HDEVINFO deviceset, LPCWSTR machine, PVOID reserved)
108 {
109   FIXME("\n");
110   return FALSE;
111 }
112
113 /***********************************************************************
114  *              SetupDiClassGuidsFromNameExW  (SETUPAPI.@)
115  */
116 BOOL WINAPI SetupDiClassGuidsFromNameExW(LPCWSTR class, LPGUID list, DWORD size, PDWORD required,  LPCWSTR  machine, PVOID reserved)
117 {
118   FIXME("\n");
119   return FALSE;
120 }
121
122 /***********************************************************************
123  *              CM_Connect_MachineW  (SETUPAPI.@)
124  */
125 DWORD WINAPI CM_Connect_MachineW(LPCWSTR name, void * machine)
126 {
127 #define  CR_SUCCESS       0x00000000
128 #define  CR_ACCESS_DENIED 0x00000033
129   FIXME("\n");
130   return  CR_ACCESS_DENIED;
131 }
132
133 /***********************************************************************
134  *              CM_Disconnect_Machine  (SETUPAPI.@)
135  */
136 DWORD WINAPI CM_Disconnect_Machine(DWORD handle)
137 {
138   FIXME("\n");
139   return  CR_SUCCESS;
140
141 }
142
143 /***********************************************************************
144  *              SetupCopyOEMInfA  (SETUPAPI.@)
145  */
146 BOOL WINAPI SetupCopyOEMInfA(LPCSTR sourceinffile, LPCSTR sourcemedialoc,
147                             DWORD mediatype, DWORD copystyle, LPSTR destinfname,
148                             DWORD destnamesize, PDWORD required,
149                             LPSTR destinfnamecomponent)
150 {
151   FIXME("stub: source %s location %s ...\n",sourceinffile, sourcemedialoc);
152   return FALSE;
153 }
154
155 /***********************************************************************
156  *              InstallHinfSection  (SETUPAPI.@)
157  */
158 void WINAPI InstallHinfSection(HWND hwnd, HINSTANCE handle, LPCSTR cmdline, INT show)
159 {
160     FIXME("stub, hwnd %p, handle %p, cmdline %s\n", hwnd, handle, debugstr_a(cmdline));
161 }