diff options
| author | Sanjeev Reddy <[email protected]> | 2019-02-06 13:12:11 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-02-06 13:12:11 -0800 |
| commit | 27302e1d522bc16e1cc18232602f7eca1b79db0f (patch) | |
| tree | 1035100a803e4e52abbda93288091bb50f4f5073 /general/SimpleMediaSource/SimpleMediaSourceDriver/Queue.h | |
| parent | 46da8a0d4f0de180dd15b6ca088e095b5e2c0b96 (diff) | |
| parent | 39d39e7485faddf601d51c897863ff2f876e391e (diff) | |
Merge pull request #1 from Microsoft/master
Updating to latest
Diffstat (limited to 'general/SimpleMediaSource/SimpleMediaSourceDriver/Queue.h')
| -rw-r--r-- | general/SimpleMediaSource/SimpleMediaSourceDriver/Queue.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/general/SimpleMediaSource/SimpleMediaSourceDriver/Queue.h b/general/SimpleMediaSource/SimpleMediaSourceDriver/Queue.h new file mode 100644 index 00000000..e0c01283 --- /dev/null +++ b/general/SimpleMediaSource/SimpleMediaSourceDriver/Queue.h @@ -0,0 +1,42 @@ +/*++ + +Module Name: + + queue.h + +Abstract: + + This file contains the queue definitions. + +Environment: + + User-mode Driver Framework 2 + +--*/ + +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 +SimpleMediaSourceDriverQueueInitialize( + _In_ WDFDEVICE Device + ); + +// +// Events from the IoQueue object +// +EVT_WDF_IO_QUEUE_IO_DEVICE_CONTROL SimpleMediaSourceDriverEvtIoDeviceControl; +EVT_WDF_IO_QUEUE_IO_STOP SimpleMediaSourceDriverEvtIoStop; + +EXTERN_C_END |
