diff options
| author | Peihsun Yeh <[email protected]> | 2018-08-14 12:16:17 -0700 |
|---|---|---|
| committer | Peihsun Yeh <[email protected]> | 2018-08-14 12:16:17 -0700 |
| commit | c6a43d3aad9a76d1ba702e4cabd394082ce4f70a (patch) | |
| tree | 09e183ac1a637631ee570db135f99f9e7942eae0 /general/SimpleMediaSource/SimpleMediaSourceDriver/Queue.h | |
| parent | fd1d9958e8df60ad1e3dfb4312d4ff13e1e7ea92 (diff) | |
Added driver project, but it is not building yet
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 |
