summaryrefslogtreecommitdiff
path: root/usb/ufxclientsample/defaultqueue.h
blob: f32eb104ca526c927397b707da09f67449afd4a6 (plain)
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
/*++

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
    );