-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQueue.h
More file actions
42 lines (27 loc) · 711 Bytes
/
Copy pathQueue.h
File metadata and controls
42 lines (27 loc) · 711 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*++
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
NetAdapterCxExampleQueueInitialize(
_In_ WDFDEVICE Device
);
//
// Events from the IoQueue object
//
EVT_WDF_IO_QUEUE_IO_DEVICE_CONTROL NetAdapterCxExampleEvtIoDeviceControl;
EVT_WDF_IO_QUEUE_IO_STOP NetAdapterCxExampleEvtIoStop;
EXTERN_C_END