[APPHELP_APITEST] Add tests for SdbGetMatchingExe, to test matching on version resour...
[reactos.git] / reactos / drivers / multimedia / portcls.NEW / stubs.c
1 /*
2 Port Class API
3 Stubbed functions
4 */
5
6 #include <portcls.h>
7
8 /*
9 Factory Stubs
10 */
11
12 /*
13 * @unimplemented
14 */
15 PORTCLASSAPI NTSTATUS NTAPI
16 PcNewDmaChannel(
17 OUT PDMACHANNEL* OutDmaChannel,
18 IN PUNKNOWN OuterUnknown OPTIONAL,
19 IN POOL_TYPE PoolType,
20 IN PDEVICE_DESCRIPTION DeviceDescription,
21 IN PDEVICE_OBJECT DeviceObject)
22 {
23 UNIMPLEMENTED;
24 return STATUS_UNSUCCESSFUL;
25 }
26
27 /*
28 * @unimplemented
29 */
30 PORTCLASSAPI NTSTATUS NTAPI
31 PcNewInterruptSync(
32 OUT PINTERRUPTSYNC* OUtInterruptSync,
33 IN PUNKNOWN OuterUnknown OPTIONAL,
34 IN PRESOURCELIST ResourceList,
35 IN ULONG ResourceIndex,
36 IN INTERRUPTSYNCMODE Mode)
37 {
38 UNIMPLEMENTED;
39 return STATUS_UNSUCCESSFUL;
40 }
41
42 /*
43 * @unimplemented
44 */
45 PORTCLASSAPI NTSTATUS NTAPI
46 PcNewMiniport(
47 OUT PMINIPORT* OutMiniport,
48 IN REFCLSID ClassId)
49 {
50 UNIMPLEMENTED;
51 return STATUS_UNSUCCESSFUL;
52 }
53
54 /*
55 * @unimplemented
56 */
57 PORTCLASSAPI NTSTATUS NTAPI
58 PcNewPort(
59 OUT PPORT* OutPort,
60 IN REFCLSID ClassId)
61 {
62 UNIMPLEMENTED;
63 return STATUS_UNSUCCESSFUL;
64 }
65
66 /*
67 * @unimplemented
68 */
69 PORTCLASSAPI NTSTATUS NTAPI
70 PcNewRegistryKey(
71 OUT PREGISTRYKEY* OutRegistryKey,
72 IN PUNKNOWN OuterUnknown OPTIONAL,
73 IN ULONG RegistryKeyType,
74 IN ACCESS_MASK DesiredAccess,
75 IN PVOID DeviceObject OPTIONAL,
76 IN PVOID SubDevice OPTIONAL,
77 IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
78 IN ULONG CreateOptions OPTIONAL,
79 OUT PULONG Disposition OPTIONAL)
80 {
81 UNIMPLEMENTED;
82 return STATUS_UNSUCCESSFUL;
83 }
84
85 /*
86 * @unimplemented
87 */
88 PORTCLASSAPI NTSTATUS NTAPI
89 PcNewResourceList(
90 OUT PRESOURCELIST* OutResourceList,
91 IN PUNKNOWN OuterUnknown OPTIONAL,
92 IN POOL_TYPE PoolType,
93 IN PCM_RESOURCE_LIST TranslatedResources,
94 IN PCM_RESOURCE_LIST UntranslatedResources)
95 {
96 UNIMPLEMENTED;
97 return STATUS_UNSUCCESSFUL;
98 }
99
100 /*
101 * @unimplemented
102 */
103 PORTCLASSAPI NTSTATUS NTAPI
104 PcNewResourceSublist(
105 OUT PRESOURCELIST* OutResourceList,
106 IN PUNKNOWN OuterUnknown OPTIONAL,
107 IN POOL_TYPE PoolType,
108 IN PRESOURCELIST ParentList,
109 IN ULONG MaximumEntries)
110 {
111 UNIMPLEMENTED;
112 return STATUS_UNSUCCESSFUL;
113 }
114
115 /*
116 * @unimplemented
117 */
118 PORTCLASSAPI NTSTATUS NTAPI
119 PcNewServiceGroup(
120 OUT PSERVICEGROUP* OutServiceGroup,
121 IN PUNKNOWN OuterUnknown OPTIONAL)
122 {
123 UNIMPLEMENTED;
124 return STATUS_UNSUCCESSFUL;
125 }
126
127
128 /* ===============================================================
129 IRP Handling
130 */
131
132 /*
133 * @unimplemented
134 */
135 PORTCLASSAPI NTSTATUS NTAPI
136 PcDispatchIrp(
137 IN PDEVICE_OBJECT DeviceObject,
138 IN PIRP Irp)
139 {
140 UNIMPLEMENTED;
141 return STATUS_UNSUCCESSFUL;
142 }
143
144 /*
145 * @unimplemented
146 */
147 PORTCLASSAPI NTSTATUS NTAPI
148 PcCompleteIrp(
149 IN PDEVICE_OBJECT DeviceObject,
150 IN PIRP Irp,
151 IN NTSTATUS Status)
152 {
153 UNIMPLEMENTED;
154 return STATUS_UNSUCCESSFUL;
155 }
156
157 /*
158 * @unimplemented
159 */
160 PORTCLASSAPI NTSTATUS NTAPI
161 PcForwardIrpSynchronous(
162 IN PDEVICE_OBJECT DeviceObject,
163 IN PIRP Irp)
164 {
165 UNIMPLEMENTED;
166 return STATUS_UNSUCCESSFUL;
167 }
168
169
170 /* ===============================================================
171 Power Management
172 */
173
174 /*
175 * @unimplemented
176 */
177 PORTCLASSAPI NTSTATUS NTAPI
178 PcRegisterAdapterPowerManagement(
179 IN PUNKNOWN pUnknown,
180 IN PVOID pvContext1)
181 {
182 UNIMPLEMENTED;
183 return STATUS_UNSUCCESSFUL;
184 }
185
186 /*
187 * @unimplemented
188 */
189 PORTCLASSAPI NTSTATUS NTAPI
190 PcRequestNewPowerState(
191 IN PDEVICE_OBJECT pDeviceObject,
192 IN DEVICE_POWER_STATE RequestedNewState)
193 {
194 UNIMPLEMENTED;
195 return STATUS_UNSUCCESSFUL;
196 }
197
198
199 /* ===============================================================
200 Properties
201 */
202
203 /*
204 * @unimplemented
205 */
206 PORTCLASSAPI NTSTATUS NTAPI
207 PcGetDeviceProperty(
208 IN PVOID DeviceObject,
209 IN DEVICE_REGISTRY_PROPERTY DeviceProperty,
210 IN ULONG BufferLength,
211 OUT PVOID PropertyBuffer,
212 OUT PULONG ResultLength)
213 {
214 UNIMPLEMENTED;
215 return STATUS_UNSUCCESSFUL;
216 }
217
218 /*
219 * @unimplemented
220 */
221 PORTCLASSAPI NTSTATUS NTAPI
222 PcCompletePendingPropertyRequest(
223 IN PPCPROPERTY_REQUEST PropertyRequest,
224 IN NTSTATUS NtStatus)
225 {
226 UNIMPLEMENTED;
227 return STATUS_UNSUCCESSFUL;
228 }
229
230
231 /* ===============================================================
232 I/O Timeouts
233 */
234
235 /*
236 * @unimplemented
237 */
238 PORTCLASSAPI NTSTATUS NTAPI
239 PcRegisterIoTimeout(
240 IN PDEVICE_OBJECT pDeviceObject,
241 IN PIO_TIMER_ROUTINE pTimerRoutine,
242 IN PVOID pContext)
243 {
244 UNIMPLEMENTED;
245 return STATUS_UNSUCCESSFUL;
246 }
247
248 /*
249 * @unimplemented
250 */
251 PORTCLASSAPI NTSTATUS NTAPI
252 PcUnregisterIoTimeout(
253 IN PDEVICE_OBJECT pDeviceObject,
254 IN PIO_TIMER_ROUTINE pTimerRoutine,
255 IN PVOID pContext)
256 {
257 UNIMPLEMENTED;
258 return STATUS_UNSUCCESSFUL;
259 }
260
261
262 /* ===============================================================
263 Physical Connections
264 */
265
266 /*
267 * @unimplemented
268 */
269 PORTCLASSAPI NTSTATUS NTAPI
270 PcRegisterPhysicalConnection(
271 IN PDEVICE_OBJECT DeviceObject,
272 IN PUNKNOWN FromUnknown,
273 IN ULONG FromPin,
274 IN PUNKNOWN ToUnknown,
275 IN ULONG ToPin)
276 {
277 UNIMPLEMENTED;
278 return STATUS_UNSUCCESSFUL;
279 }
280
281 /*
282 * @unimplemented
283 */
284 PORTCLASSAPI NTSTATUS NTAPI
285 PcRegisterPhysicalConnectionFromExternal(
286 IN PDEVICE_OBJECT DeviceObject,
287 IN PUNICODE_STRING FromString,
288 IN ULONG FromPin,
289 IN PUNKNOWN ToUnknown,
290 IN ULONG ToPin)
291 {
292 UNIMPLEMENTED;
293 return STATUS_UNSUCCESSFUL;
294 }
295
296 /*
297 * @unimplemented
298 */
299 PORTCLASSAPI NTSTATUS NTAPI
300 PcRegisterPhysicalConnectionToExternal(
301 IN PDEVICE_OBJECT DeviceObject,
302 IN PUNKNOWN FromUnknown,
303 IN ULONG FromPin,
304 IN PUNICODE_STRING ToString,
305 IN ULONG ToPin)
306 {
307 UNIMPLEMENTED;
308 return STATUS_UNSUCCESSFUL;
309 }
310
311
312 /* ===============================================================
313 Misc
314 */
315
316 /*
317 * @unimplemented
318 */
319 PORTCLASSAPI ULONGLONG NTAPI
320 PcGetTimeInterval(
321 IN ULONGLONG Since)
322 {
323 UNIMPLEMENTED;
324 return STATUS_UNSUCCESSFUL;
325 }
326
327 /*
328 * @unimplemented
329 */
330 PORTCLASSAPI NTSTATUS NTAPI
331 PcRegisterSubdevice(
332 IN PDEVICE_OBJECT DeviceObject,
333 IN PWCHAR Name,
334 IN PUNKNOWN Unknown)
335 {
336 UNIMPLEMENTED;
337 return STATUS_UNSUCCESSFUL;
338 }