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