[APPHELP_APITEST] Add tests for SdbGetMatchingExe, to test matching on version resour...
[reactos.git] / reactos / drivers / multimedia / portcls.NEW / portcls.c
1 /*
2 * PROJECT: ReactOS Sound System
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: drivers/multimedia/portcls/portcls.c
5 * PURPOSE: Audio Port Class Functions
6 * PROGRAMMERS:
7 *
8 */
9
10 #include "portcls.h"
11
12
13 #define NDEBUG
14 #include <debug.h>
15
16
17 NTSTATUS STDCALL
18 DriverEntry(PDRIVER_OBJECT DriverObject,
19 PUNICODE_STRING RegistryPath)
20 {
21 return STATUS_SUCCESS;
22 }
23
24 /*
25 * @implemented
26 */
27 ULONG STDCALL
28 DllInitialize(ULONG Unknown)
29 {
30 return 0;
31 }
32
33 /*
34 * @implemented
35 */
36 ULONG STDCALL
37 DllUnload(VOID)
38 {
39 return 0;
40 }
41
42
43 /*
44 * @unimplemented
45 */
46 NTSTATUS STDCALL
47 PcAddAdapterDevice(
48 ULONG DriverObject,
49 ULONG PhysicalDeviceObject,
50 ULONG StartDevice,
51 ULONG MaxObjects,
52 ULONG DeviceExtensionSize
53 )
54 {
55 UNIMPLEMENTED;
56 return STATUS_UNSUCCESSFUL;
57 }
58
59 /*
60 * @unimplemented
61 */
62 NTSTATUS STDCALL
63 PcAddContentHandlers(
64 ULONG ContentId,
65 ULONG paHandlers,
66 ULONG NumHandlers
67 )
68 {
69 UNIMPLEMENTED;
70 return STATUS_UNSUCCESSFUL;
71 }
72
73 /*
74 * @unimplemented
75 */
76 NTSTATUS STDCALL
77 PcCompleteIrp(
78 ULONG DeviceObject,
79 ULONG Irp,
80 ULONG Status
81 )
82 {
83 UNIMPLEMENTED;
84 return STATUS_UNSUCCESSFUL;
85 }
86
87 /*
88 * @unimplemented
89 */
90 NTSTATUS STDCALL
91 PcCompletePendingPropertyRequest(
92 ULONG PropertyRequest,
93 ULONG NtStatus
94 )
95 {
96 UNIMPLEMENTED;
97 return STATUS_UNSUCCESSFUL;
98 }
99
100 /*
101 * @unimplemented
102 */
103 NTSTATUS STDCALL
104 PcCreateContentMixed(
105 ULONG paContentId,
106 ULONG cContentId,
107 ULONG pMixedContentId
108 )
109 {
110 UNIMPLEMENTED;
111 return STATUS_UNSUCCESSFUL;
112 }
113
114 /*
115 * @unimplemented
116 */
117 NTSTATUS STDCALL
118 PcDestroyContent(
119 ULONG ContentId
120 )
121 {
122 UNIMPLEMENTED;
123 return STATUS_UNSUCCESSFUL;
124 }
125
126 /*
127 * @unimplemented
128 */
129 NTSTATUS STDCALL
130 PcDispatchIrp(
131 ULONG DeviceObject,
132 ULONG Irp
133 )
134 {
135 UNIMPLEMENTED;
136 return STATUS_UNSUCCESSFUL;
137 }
138
139 /*
140 * @unimplemented
141 */
142 NTSTATUS STDCALL
143 PcForwardContentToDeviceObject(
144 ULONG ContentId,
145 ULONG Reserved,
146 ULONG DrmForward
147 )
148 {
149 UNIMPLEMENTED;
150 return STATUS_UNSUCCESSFUL;
151 }
152
153 /*
154 * @unimplemented
155 */
156 NTSTATUS STDCALL
157 PcForwardContentToFileObject(
158 ULONG ContentId,
159 ULONG FileObject
160 )
161 {
162 UNIMPLEMENTED;
163 return STATUS_UNSUCCESSFUL;
164 }
165
166 /*
167 * @unimplemented
168 */
169 NTSTATUS STDCALL
170 PcForwardContentToInterface(
171 ULONG ContentId,
172 ULONG Unknown,
173 ULONG NumMethods
174 )
175 {
176 UNIMPLEMENTED;
177 return STATUS_UNSUCCESSFUL;
178 }
179
180 /*
181 * @unimplemented
182 */
183 NTSTATUS STDCALL
184 PcForwardIrpSynchronous(
185 ULONG DeviceObject,
186 ULONG Irp
187 )
188 {
189 UNIMPLEMENTED;
190 return STATUS_UNSUCCESSFUL;
191 }
192
193 /*
194 * @unimplemented
195 */
196 NTSTATUS STDCALL
197 PcGetContentRights(
198 ULONG ContentId,
199 ULONG DrmRights
200 )
201 {
202 UNIMPLEMENTED;
203 return STATUS_UNSUCCESSFUL;
204 }
205
206 /*
207 * @unimplemented
208 */
209 NTSTATUS STDCALL
210 PcGetDeviceProperty(
211 ULONG DeviceObject,
212 ULONG DeviceProperty,
213 ULONG BufferLength,
214 ULONG PropertyBuffer,
215 ULONG ResultLength
216 )
217 {
218 UNIMPLEMENTED;
219 return STATUS_UNSUCCESSFUL;
220 }
221
222 /*
223 * @implemented
224 */
225 ULONGLONG STDCALL
226 PcGetTimeInterval(
227 ULONGLONG Timei
228 )
229 {
230 LARGE_INTEGER CurrentTime;
231
232 KeQuerySystemTime( &CurrentTime);
233
234 return (Timei - CurrentTime.QuadPart);
235 }
236
237 /*
238 * @unimplemented
239 */
240 NTSTATUS STDCALL
241 PcInitializeAdapterDriver(
242 ULONG DriverObject,
243 ULONG RegistryPathName,
244 ULONG AddDevice
245 )
246 {
247 UNIMPLEMENTED;
248 return STATUS_UNSUCCESSFUL;
249 }
250
251 /*
252 * @unimplemented
253 */
254 NTSTATUS STDCALL
255 PcNewDmaChannel(
256 ULONG OutDmaChannel,
257 ULONG Unknown,
258 ULONG PoolType,
259 ULONG DeviceDescription,
260 ULONG DeviceObject
261 )
262 {
263 UNIMPLEMENTED;
264 return STATUS_UNSUCCESSFUL;
265 }
266
267 /*
268 * @unimplemented
269 */
270 NTSTATUS STDCALL
271 PcNewInterruptSync(
272 ULONG OutInterruptSync,
273 ULONG Unknown,
274 ULONG ResourceList,
275 ULONG ResourceIndex,
276 ULONG Mode
277 )
278 {
279 UNIMPLEMENTED;
280 return STATUS_UNSUCCESSFUL;
281 }
282
283 /*
284 * @unimplemented
285 */
286 NTSTATUS STDCALL
287 PcNewMiniport(
288 ULONG OutMiniport,
289 ULONG ClassId
290 )
291 {
292 UNIMPLEMENTED;
293 return STATUS_UNSUCCESSFUL;
294 }
295
296 /*
297 * @unimplemented
298 */
299 NTSTATUS STDCALL
300 PcNewPort(
301 ULONG OutPort,
302 ULONG ClassId
303 )
304 {
305 UNIMPLEMENTED;
306 return STATUS_UNSUCCESSFUL;
307 }
308
309 /*
310 * @unimplemented
311 */
312 NTSTATUS STDCALL
313 PcNewRegistryKey(
314 ULONG OutRegistryKey,
315 ULONG Unknown,
316 ULONG RegistryKeyType,
317 ULONG DesiredAccess,
318 ULONG DeviceObject,
319 ULONG SubDevice,
320 ULONG ObjectAttributes,
321 ULONG CreateOptions,
322 ULONG Disposition
323 )
324 {
325 UNIMPLEMENTED;
326 return STATUS_UNSUCCESSFUL;
327 }
328
329 /*
330 * @unimplemented
331 */
332 NTSTATUS STDCALL
333 PcNewResourceList(
334 ULONG OutResourceList,
335 ULONG Unknown,
336 ULONG PoolType,
337 ULONG TranslatedResources,
338 ULONG UntranslatedResources
339 )
340 {
341 UNIMPLEMENTED;
342 return STATUS_UNSUCCESSFUL;
343 }
344
345 /*
346 * @unimplemented
347 */
348 NTSTATUS STDCALL
349 PcNewResourceSublist(
350 ULONG OutResourceList,
351 ULONG Unknown,
352 ULONG PoolType,
353 ULONG ParentList,
354 ULONG MaximumEntries
355 )
356 {
357 UNIMPLEMENTED;
358 return STATUS_UNSUCCESSFUL;
359 }
360
361 /*
362 * @unimplemented
363 */
364 NTSTATUS STDCALL
365 PcNewServiceGroup(
366 ULONG OutServiceGroup,
367 ULONG Unknown
368 )
369 {
370 UNIMPLEMENTED;
371 return STATUS_UNSUCCESSFUL;
372 }
373
374 /*
375 * @unimplemented
376 */
377 NTSTATUS STDCALL
378 PcRegisterAdapterPowerManagement(
379 ULONG Unknown,
380 ULONG pvContext
381 )
382 {
383 UNIMPLEMENTED;
384 return STATUS_UNSUCCESSFUL;
385 }
386
387 /*
388 * @unimplemented
389 */
390 NTSTATUS STDCALL
391 PcRegisterIoTimeout(
392 ULONG pDeviceObject,
393 ULONG pTimerRoutine,
394 ULONG pContext
395 )
396 {
397 UNIMPLEMENTED;
398 return STATUS_UNSUCCESSFUL;
399 }
400
401 /*
402 * @unimplemented
403 */
404 NTSTATUS STDCALL
405 PcRegisterPhysicalConnection(
406 ULONG DeviceObject,
407 ULONG FromUnknown,
408 ULONG FromPin,
409 ULONG ToUnknown,
410 ULONG ToPin
411 )
412 {
413 UNIMPLEMENTED;
414 return STATUS_UNSUCCESSFUL;
415 }
416
417 /*
418 * @unimplemented
419 */
420 NTSTATUS STDCALL
421 PcRegisterPhysicalConnectionFromExternal(
422 ULONG DeviceObject,
423 ULONG FromString,
424 ULONG FromPin,
425 ULONG ToUnknown,
426 ULONG ToPin
427 )
428 {
429 UNIMPLEMENTED;
430 return STATUS_UNSUCCESSFUL;
431 }
432
433 /*
434 * @unimplemented
435 */
436 NTSTATUS STDCALL
437 PcRegisterPhysicalConnectionToExternal(
438 ULONG DeviceObject,
439 ULONG FromUnknown,
440 ULONG FromPin,
441 ULONG ToString,
442 ULONG ToPin
443 )
444 {
445 UNIMPLEMENTED;
446 return STATUS_UNSUCCESSFUL;
447 }
448
449 /*
450 * @unimplemented
451 */
452 NTSTATUS STDCALL
453 PcRegisterSubdevice(
454 ULONG DeviceObject,
455 ULONG SubdevName,
456 ULONG Unknown
457 )
458 {
459 UNIMPLEMENTED;
460 return STATUS_UNSUCCESSFUL;
461 }
462
463 /*
464 * @unimplemented
465 */
466 NTSTATUS STDCALL
467 PcRequestNewPowerState(
468 ULONG pDeviceObject,
469 ULONG RequestedNewState
470 )
471 {
472 UNIMPLEMENTED;
473 return STATUS_UNSUCCESSFUL;
474 }
475
476 /*
477 * @unimplemented
478 */
479 NTSTATUS STDCALL
480 PcUnregisterIoTimeout(
481 ULONG pDeviceObject,
482 ULONG pTimerRoutine,
483 ULONG pContext
484 )
485 {
486 UNIMPLEMENTED;
487 return STATUS_UNSUCCESSFUL;
488 }
489