ReactOS  0.4.15-dev-2095-g7caf9e9
control.c File Reference
#include "stream.h"
Include dependency graph for control.c:

Go to the source code of this file.

Functions

NTSTATUS NTAPI StreamClassPower (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
 
NTSTATUS NTAPI StreamClassSystemControl (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
 
NTSTATUS NTAPI StreamClassCleanup (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
 
NTSTATUS NTAPI StreamClassFlushBuffers (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
 
NTSTATUS NTAPI StreamClassDeviceControl (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
 

Function Documentation

◆ StreamClassCleanup()

NTSTATUS NTAPI StreamClassCleanup ( IN PDEVICE_OBJECT  DeviceObject,
IN PIRP  Irp 
)

Definition at line 39 of file control.c.

42 {
43  Irp->IoStatus.Information = 0;
44  Irp->IoStatus.Status = STATUS_SUCCESS;
46  return STATUS_SUCCESS;
47 }
_In_ PIRP Irp
Definition: csq.h:116
#define IoCompleteRequest
Definition: irp.c:1240
#define IO_NO_INCREMENT
Definition: iotypes.h:598
#define STATUS_SUCCESS
Definition: shellext.h:65

Referenced by StreamClassRegisterAdapter().

◆ StreamClassDeviceControl()

NTSTATUS NTAPI StreamClassDeviceControl ( IN PDEVICE_OBJECT  DeviceObject,
IN PIRP  Irp 
)

Definition at line 63 of file control.c.

66 {
67  Irp->IoStatus.Information = 0;
68  Irp->IoStatus.Status = STATUS_SUCCESS;
70  return STATUS_SUCCESS;
71 }
_In_ PIRP Irp
Definition: csq.h:116
#define IoCompleteRequest
Definition: irp.c:1240
#define IO_NO_INCREMENT
Definition: iotypes.h:598
#define STATUS_SUCCESS
Definition: shellext.h:65

Referenced by StreamClassRegisterAdapter().

◆ StreamClassFlushBuffers()

NTSTATUS NTAPI StreamClassFlushBuffers ( IN PDEVICE_OBJECT  DeviceObject,
IN PIRP  Irp 
)

Definition at line 51 of file control.c.

54 {
55  Irp->IoStatus.Information = 0;
56  Irp->IoStatus.Status = STATUS_SUCCESS;
58  return STATUS_SUCCESS;
59 }
_In_ PIRP Irp
Definition: csq.h:116
#define IoCompleteRequest
Definition: irp.c:1240
#define IO_NO_INCREMENT
Definition: iotypes.h:598
#define STATUS_SUCCESS
Definition: shellext.h:65

Referenced by StreamClassRegisterAdapter().

◆ StreamClassPower()

NTSTATUS NTAPI StreamClassPower ( IN PDEVICE_OBJECT  DeviceObject,
IN PIRP  Irp 
)

Definition at line 15 of file control.c.

18 {
19  Irp->IoStatus.Information = 0;
20  Irp->IoStatus.Status = STATUS_SUCCESS;
22  return STATUS_SUCCESS;
23 }
_In_ PIRP Irp
Definition: csq.h:116
#define IoCompleteRequest
Definition: irp.c:1240
#define IO_NO_INCREMENT
Definition: iotypes.h:598
#define STATUS_SUCCESS
Definition: shellext.h:65

Referenced by StreamClassRegisterAdapter().

◆ StreamClassSystemControl()

NTSTATUS NTAPI StreamClassSystemControl ( IN PDEVICE_OBJECT  DeviceObject,
IN PIRP  Irp 
)

Definition at line 27 of file control.c.

30 {
31  Irp->IoStatus.Information = 0;
32  Irp->IoStatus.Status = STATUS_SUCCESS;
34  return STATUS_SUCCESS;
35 }
_In_ PIRP Irp
Definition: csq.h:116
#define IoCompleteRequest
Definition: irp.c:1240
#define IO_NO_INCREMENT
Definition: iotypes.h:598
#define STATUS_SUCCESS
Definition: shellext.h:65

Referenced by StreamClassRegisterAdapter().