ReactOS 0.4.15-dev-7931-gfd331f1
control.c
Go to the documentation of this file.
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS Kernel Streaming
4 * FILE: drivers/wdm/audio/legacy/stream/dll.c
5 * PURPOSE: kernel mode driver initialization
6 * PROGRAMMER: Johannes Anderwald
7 */
8
9
10#include "stream.h"
11
12
17 IN PIRP Irp)
18{
19 Irp->IoStatus.Information = 0;
20 Irp->IoStatus.Status = STATUS_SUCCESS;
22 return STATUS_SUCCESS;
23}
24
29 IN PIRP Irp)
30{
31 Irp->IoStatus.Information = 0;
32 Irp->IoStatus.Status = STATUS_SUCCESS;
34 return STATUS_SUCCESS;
35}
36
41 IN PIRP Irp)
42{
43 Irp->IoStatus.Information = 0;
44 Irp->IoStatus.Status = STATUS_SUCCESS;
46 return STATUS_SUCCESS;
47}
48
53 IN PIRP Irp)
54{
55 Irp->IoStatus.Information = 0;
56 Irp->IoStatus.Status = STATUS_SUCCESS;
58 return STATUS_SUCCESS;
59}
60
65 IN PIRP Irp)
66{
67 Irp->IoStatus.Information = 0;
68 Irp->IoStatus.Status = STATUS_SUCCESS;
70 return STATUS_SUCCESS;
71}
LONG NTSTATUS
Definition: precomp.h:26
_In_ PIRP Irp
Definition: csq.h:116
NTSTATUS NTAPI StreamClassSystemControl(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: control.c:27
NTSTATUS NTAPI StreamClassCleanup(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: control.c:39
NTSTATUS NTAPI StreamClassFlushBuffers(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: control.c:51
NTSTATUS NTAPI StreamClassDeviceControl(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: control.c:63
NTSTATUS NTAPI StreamClassPower(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: control.c:15
#define IoCompleteRequest
Definition: irp.c:1240
Console I/O streams.
#define STATUS_SUCCESS
Definition: shellext.h:65
#define NTAPI
Definition: typedefs.h:36
#define IN
Definition: typedefs.h:39
_In_ PDEVICE_OBJECT DeviceObject
Definition: wdfdevice.h:2055
#define IO_NO_INCREMENT
Definition: iotypes.h:598