summaryrefslogtreecommitdiff
path: root/usb/ufxclientsample/defaultqueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'usb/ufxclientsample/defaultqueue.h')
-rw-r--r--usb/ufxclientsample/defaultqueue.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/usb/ufxclientsample/defaultqueue.h b/usb/ufxclientsample/defaultqueue.h
new file mode 100644
index 00000000..f32eb104
--- /dev/null
+++ b/usb/ufxclientsample/defaultqueue.h
@@ -0,0 +1,38 @@
+/*++
+
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+Module Name:
+
+ defaultqueue.h
+
+Abstract:
+
+ Defines the export functions for the UFXDEVICE object.
+
+Environment:
+
+ Kernel mode
+
+--*/
+
+//
+// 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)
+
+
+_Must_inspect_result_
+_IRQL_requires_(PASSIVE_LEVEL)
+NTSTATUS
+DefaultQueueCreate(
+ _In_ WDFDEVICE Device
+ );
+