mirror of
https://github.com/CyberSecurityUP/Offensive-Windows-Drivers-Development
synced 2026-06-06 15:34:28 +00:00
43 lines
729 B
C
43 lines
729 B
C
/*++
|
|
|
|
Module Name:
|
|
|
|
queue.h
|
|
|
|
Abstract:
|
|
|
|
This file contains the queue definitions.
|
|
|
|
Environment:
|
|
|
|
Kernel-mode Driver Framework
|
|
|
|
--*/
|
|
|
|
EXTERN_C_START
|
|
|
|
//
|
|
// This is the context that can be placed per queue
|
|
// and would contain per queue information.
|
|
//
|
|
typedef struct _QUEUE_CONTEXT {
|
|
|
|
ULONG PrivateDeviceData; // just a placeholder
|
|
|
|
} QUEUE_CONTEXT, *PQUEUE_CONTEXT;
|
|
|
|
WDF_DECLARE_CONTEXT_TYPE_WITH_NAME(QUEUE_CONTEXT, QueueGetContext)
|
|
|
|
NTSTATUS
|
|
RansDriverQueueInitialize(
|
|
_In_ WDFDEVICE Device
|
|
);
|
|
|
|
//
|
|
// Events from the IoQueue object
|
|
//
|
|
EVT_WDF_IO_QUEUE_IO_DEVICE_CONTROL RansDriverEvtIoDeviceControl;
|
|
EVT_WDF_IO_QUEUE_IO_STOP RansDriverEvtIoStop;
|
|
|
|
EXTERN_C_END
|