Moved server.h to include/wine.
[wine] / dlls / setupapi / stubs.c
1 /* -*- tab-width: 8; c-basic-offset: 8 -*- */
2 /*
3  * SetupAPI stubs
4  *
5  */
6
7 #include "debugtools.h"
8 #include "windef.h"
9 #include "setupapi.h"
10
11 DEFAULT_DEBUG_CHANNEL(setupapi);
12
13
14 /***********************************************************************
15  *              SetupCloseFileQueue (SETUPAPI.56)
16  */
17 VOID WINAPI SetupCloseFileQueue(HSPFILEQ QueueHandle)
18 {
19         FIXME("not implemented (setupapi.dll) \n");
20 }
21
22 /***********************************************************************
23  *              SetupCommitFileQueueA (SETUPAPI.59)
24  */
25 BOOL WINAPI SetupCommitFileQueueA(HWND Owner, HSPFILEQ QueueHandle,
26                                   PSP_FILE_CALLBACK_A MsgHandler,
27                                   PVOID Context)
28 {
29         FIXME("not implemented (setupapi.dll) \n");
30         return FALSE;
31 }
32
33 /***********************************************************************
34  *              SetupIterateCabinetA (SETUPAPI.205)
35  */
36 BOOL WINAPI SetupIterateCabinetA(PCSTR CabinetFile, DWORD Reserved,
37                                  PSP_FILE_CALLBACK_A MsgHandler, PVOID Context)
38 {
39         FIXME("not implemented (setupapi.dll) \n");
40         return 0;
41 }
42
43 /***********************************************************************
44  *              SetupIterateCabinetW (SETUPAPI.206)
45  */
46 BOOL WINAPI SetupIterateCabinetW(PWSTR CabinetFile, DWORD Reserved,
47                                  PSP_FILE_CALLBACK_W MsgHandler, PVOID Context) 
48 {
49         FIXME("not implemented (setupapi.dll) \n");
50         return 0;
51 }
52
53
54 /***********************************************************************
55  *              SetupGetLineTextA (SETUPAPI.177)
56  */
57 BOOL WINAPI SetupGetLineTextA (PINFCONTEXT Context, HINF InfHandle,
58                         PCSTR Section, PCSTR Key, LPSTR ReturnBuffer,
59                         DWORD ReturnBufferSize, PDWORD RequiredSize)
60 {
61         FIXME("not implemented (setupapi.dll) \n");
62         return 0;
63 }
64
65 /***********************************************************************
66  *              SetupGetStringFieldA (SETUPAPI.187)
67  */
68 BOOL WINAPI SetupGetStringFieldA(PINFCONTEXT Context, DWORD FieldIndex, 
69                                  LPSTR ReturnBuffer, DWORD ReturnBufferSize,
70                                  PDWORD RequiredSize)
71 {
72         FIXME("not implemented (setupapi.dll) \n");
73         return 0;
74 }
75
76
77 /***********************************************************************
78  *              SetupFindNextLine (SETUPAPI.159)
79  */
80 BOOL WINAPI SetupFindNextLine (PINFCONTEXT ContextIn, PINFCONTEXT ContextOut)
81 {
82         FIXME("not implemented (setupapi.dll) \n");
83         return 0;
84 }
85
86
87 /***********************************************************************
88  *              SetupInitDefaultQueueCallback (SETUPAPI.191)
89  */
90 PVOID WINAPI SetupInitDefaultQueueCallback(HWND OwnerWindow)
91 {
92         FIXME("not implemented (setupapi.dll) \n");
93         return 0;
94 }
95
96 /***********************************************************************
97  *              SetupInitDefaultQueueCallbackEx (SETUPAPI.192)
98  */
99 PVOID WINAPI SetupInitDefaultQueueCallbackEx(HWND OwnerWindow,
100                                              HWND AlternativeProgressWindow,
101                                              UINT ProgressMessage,
102                                              DWORD res1,
103                                              PVOID res2)
104 {
105         FIXME("not implemented (setupapi.dll) \n");
106         return 0;
107 }
108
109 /***********************************************************************
110  *              SetupCloseInfFile (SETUPAPI.57)
111  */
112 VOID WINAPI SetupCloseInfFile (HINF InfHandle)
113 {
114         FIXME("not implemented (setupapi.dll) \n");
115 }
116
117
118 /***********************************************************************
119  *              SetupDefaultQueueCallbackA (SETUPAPI.68)
120  */
121 UINT WINAPI SetupDefaultQueueCallbackA (PVOID Context, UINT Notification,
122                                         UINT Param1, UINT Param2)
123 {
124         FIXME("not implemented (setupapi.dll) \n");
125         return 0;
126 }
127
128
129 /***********************************************************************
130  *              SetupFindFirstLineA (SETUPAPI.157)
131  */
132 BOOL WINAPI SetupFindFirstLineA (HINF InfHandle, PCSTR Section, PCSTR Key,
133                                  PINFCONTEXT Context)
134 {
135         FIXME("not implemented (setupapi.dll) \n");
136         return 0;
137 }
138
139 /***********************************************************************
140  *              SetupGetLineByIndexA (SETUPAPI.173)
141  */
142 BOOL WINAPI SetupGetLineByIndexA (HINF InfHandle, PCSTR Section, DWORD Index,
143                                  PINFCONTEXT Context)
144 {
145         FIXME("not implemented (setupapi.dll) \n");
146         return FALSE;
147 }
148
149
150 /***********************************************************************
151  *              SetupInstallFromInfSectionA (SETUPAPI.201)
152  */
153 BOOL WINAPI SetupInstallFromInfSectionA (HWND Owner, HINF InfHandle, PCSTR SectionName,
154                                          UINT Flags, HKEY RelativeKeyRoot, PCSTR SourceRootPath,
155                                          UINT CopyFlags, PSP_FILE_CALLBACK_A MsgHandler,
156                                          PVOID Context, HDEVINFO DeviceInfoSet,
157                                          PSP_DEVINFO_DATA DeviceInfoData)
158 {
159         FIXME("not implemented (setupapi.dll) \n");
160         return 0;
161 }
162
163 /***********************************************************************
164  *              SetupOpenAppendInfFileA (SETUPAPI.209)
165  */
166 BOOL WINAPI SetupOpenAppendInfFileA (PCSTR FileName, HINF InfHandle,
167                                     PUINT ErrorLine)
168 {
169         FIXME("not implemented (setupapi.dll) \n");
170         return FALSE;
171 }
172
173 /***********************************************************************
174  *              SetupOpenFileQueue (SETUPAPI.211)
175  */
176 HSPFILEQ WINAPI SetupOpenFileQueue (VOID)
177 {
178         FIXME("not implemented (setupapi.dll) \n");
179         return (HSPFILEQ) INVALID_HANDLE_VALUE;
180 }
181
182 /***********************************************************************
183  *              SetupOpenInfFileA (SETUPAPI.212)
184  */
185 HINF WINAPI SetupOpenInfFileA (PCSTR FileName, PCSTR InfClass, DWORD InfStyle,
186                                PUINT ErrorLine)
187 {
188         FIXME("not implemented (setupapi.dll) \n");
189         return 0;
190 }
191
192 /***********************************************************************
193  *              SetupQueueCopyA (SETUPAPI.230)
194  */
195 BOOL WINAPI SetupQueueCopyA (HSPFILEQ QueueHandle, PCSTR SourceRootPath, PCSTR SourcePath,
196                              PCSTR SourceFileName, PCSTR SourceDescription, PCSTR SourceTagFile,
197                              PCSTR TargetDirectory, PCSTR TargetFileName, DWORD CopyStyle)
198 {
199         FIXME("not implemented (setupapi.dll) \n");
200         return FALSE;
201 }
202
203 /***********************************************************************
204  *              SetupSetDirectoryIdA (SETUPAPI.259)
205  */
206 BOOL WINAPI SetupSetDirectoryIdA (HINF InfHandle,
207                                   DWORD Id,
208                                   PCSTR Directory)
209 {
210         FIXME("not implemented (setupapi.dll) \n");
211         return FALSE;
212 }
213
214
215 /***********************************************************************
216  *              SetupTermDefaultQueueCallback (SETUPAPI.267)
217  */
218 VOID WINAPI SetupTermDefaultQueueCallback (PVOID Callback)
219 {
220         FIXME("not implemented (setupapi.dll) \n");
221 }
222