ReactOS  0.4.15-dev-3331-g8ebe441
stream.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <strmini.h>
4 #define YDEBUG
5 #include <debug.h>
6 
7 #define STREAMDEBUG_LEVEL DebugLevelMaximum
8 
10 
11 typedef struct
12 {
14 
16 
17 typedef struct
18 {
23 
24 typedef struct
25 {
29 
31 
36 
39 
41 
45 
48 
50 
51 typedef struct
52 {
56 
58 NTAPI
61  IN PIRP Irp);
62 
64 NTAPI
67  IN PIRP Irp);
68 
70 NTAPI
73  IN PIRP Irp);
74 
76 NTAPI
79  IN PIRP Irp);
80 
82 NTAPI
85  IN PIRP Irp);
86 
88 NTAPI
91  IN PIRP Irp);
92 
94 NTAPI
97  IN PIRP Irp);
98 
100 NTAPI
104 
105 
106 NTSTATUS
107 NTAPI
110  IN PIRP Irp);
111 
112 BOOLEAN
113 NTAPI
118 
119 BOOLEAN
120 NTAPI
124 
125 VOID
126 NTAPI
128  IN PKDPC Dpc,
132 
133 VOID
135  IN PIRP Irp,
#define IN
Definition: typedefs.h:39
struct MEMORY_RESOURCE_LIST * PMEMORY_RESOURCE_LIST
_Must_inspect_result_ _In_ PWDF_DPC_CONFIG _In_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFDPC * Dpc
Definition: wdfdpc.h:107
NTSTATUS NTAPI StreamClassCreateFilter(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: filter.c:261
BOOLEAN(NTAPI * SYNCHRONIZE_FUNC)(IN PKINTERRUPT Interrupt, IN PKSYNCHRONIZE_ROUTINE SynchronizeRoutine, IN PVOID SynchronizeContext)
Definition: stream.h:9
PKINTERRUPT Interrupt
Definition: stream.h:37
struct STREAM_CLASS_DRIVER_EXTENSION * PSTREAM_CLASS_DRIVER_EXTENSION
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_INTERRUPT_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFINTERRUPT * Interrupt
Definition: wdfinterrupt.h:372
HW_INITIALIZATION_DATA Data
Definition: stream.h:13
LONG NTSTATUS
Definition: precomp.h:26
SYNCHRONIZE_FUNC SynchronizeFunction
Definition: stream.h:30
PDEVICE_OBJECT PhysicalDeviceObject
Definition: btrfs_drv.h:1155
_In_ WDFREQUEST _In_ NTSTATUS _In_ ULONG_PTR Information
Definition: wdfrequest.h:1044
BOOLEAN NTAPI StreamClassInterruptRoutine(IN PKINTERRUPT Interrupt, IN PVOID ServiceContext)
Definition: pnp.c:87
PHYSICAL_ADDRESS DmaPhysicalAddress
Definition: stream.h:35
uint32_t ULONG_PTR
Definition: typedefs.h:65
NTSTATUS NTAPI StreamClassDeviceControl(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: control.c:63
_In_ PDEVICE_OBJECT DeviceObject
Definition: wdfdevice.h:2055
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
NTSTATUS NTAPI StreamClassPnp(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: pnp.c:448
_In_ PIRP Irp
Definition: csq.h:116
KSDEVICE_HEADER Header
Definition: stream.h:26
long LONG
Definition: pedump.c:60
NTSTATUS NTAPI StreamClassFlushBuffers(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: control.c:51
unsigned char BOOLEAN
KSYNCHRONIZE_ROUTINE * PKSYNCHRONIZE_ROUTINE
Definition: ketypes.h:863
_Must_inspect_result_ _In_ PDRIVER_OBJECT DriverObject
Definition: wdfdriver.h:213
VOID CompleteIrp(IN PIRP Irp, IN NTSTATUS Status, IN ULONG_PTR Information)
Definition: pnp.c:12
Status
Definition: gdiplustypes.h:24
_In_opt_ PVOID _In_opt_ PVOID SystemArgument1
Definition: ketypes.h:675
_In_ PKSYNCHRONIZE_ROUTINE SynchronizeRoutine
Definition: kefuncs.h:536
PDEVICE_OBJECT PhysicalDeviceObject
Definition: stream.h:28
struct STREAM_DEVICE_EXTENSION * PSTREAM_DEVICE_EXTENSION
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID ServiceContext
Definition: iofuncs.h:800
PHW_STREAM_DESCRIPTOR StreamDescriptor
Definition: stream.h:43
HW_STREAM_REQUEST_BLOCK Block
Definition: stream.h:53
NTSTATUS NTAPI StreamClassSystemControl(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: control.c:27
struct HW_STREAM_REQUEST_BLOCK_EXT * PHW_STREAM_REQUEST_BLOCK_EXT
Definition: ketypes.h:687
BOOLEAN NTAPI StreamClassSynchronize(IN PKINTERRUPT Interrupt, IN PKSYNCHRONIZE_ROUTINE SynchronizeRoutine, IN PVOID SynchronizeContext)
Definition: pnp.c:61
NTSTATUS NTAPI StreamClassPower(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: control.c:15
Definition: typedefs.h:119
_In_opt_ PVOID _In_opt_ PVOID _In_opt_ PVOID SystemArgument2
Definition: ketypes.h:675
LIST_ENTRY Entry
Definition: stream.h:19
_In_ PKSYNCHRONIZE_ROUTINE _In_opt_ __drv_aliasesMem PVOID SynchronizeContext
Definition: kefuncs.h:536
NTSTATUS NTAPI ForwardIrpSynchronous(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: helper.c:29
ULONG StreamDescriptorSize
Definition: stream.h:42
NTSTATUS NTAPI StreamClassCleanup(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: control.c:39
PDMA_ADAPTER DmaAdapter
Definition: stream.h:33
#define BOOLEAN
Definition: pedump.c:73
unsigned int ULONG
Definition: retypes.h:1
PSTREAM_CLASS_DRIVER_EXTENSION DriverExtension
Definition: stream.h:44
PDEVICE_OBJECT LowerDeviceObject
Definition: stream.h:27
LIST_ENTRY MemoryResourceList
Definition: stream.h:40
NTSTATUS NTAPI StreamClassAddDevice(IN PDRIVER_OBJECT DriverObject, IN PDEVICE_OBJECT PhysicalDeviceObject)
Definition: driver.c:13
VOID NTAPI StreamClassInterruptDpc(IN PKDPC Dpc, IN PVOID DeferredContext, IN PVOID SystemArgument1, IN PVOID SystemArgument2)
Definition: pnp.c:74
_In_opt_ PVOID DeferredContext
Definition: ketypes.h:675