ReactOS 0.4.16-dev-197-g92996da
fxusbrequestcontext.hpp
Go to the documentation of this file.
1/*++
2
3Copyright (c) Microsoft Corporation
4
5Module Name:
6
7 FxUsbRequestContext.hpp
8
9Abstract:
10
11Author:
12
13Environment:
14
15 kernel mode only
16
17Revision History:
18
19--*/
20
21#ifndef _FXUSBREQUESTCONTEXT_H_
22#define _FXUSBREQUESTCONTEXT_H_
23
24#if (FX_CORE_MODE == FX_CORE_USER_MODE)
25#include <umusb.h>
26#endif
27
31 ) :
33 {
36 }
37
38 virtual
41 VOID
42 ) = 0;
43
44 virtual
45 VOID
48 )
49 {
52 }
53
54 VOID
57 )
58 {
59 //
60 // The completion params are set every time we set the type
61 //
64
66 }
67
68 VOID
69 __inline
71 VOID
72 )
73 {
75 }
76
77public:
79
80#if (FX_CORE_MODE == FX_CORE_USER_MODE)
81 //
82 // UMURB we send to the WUDF USB Dispatcher. The dispatcher
83 // extracts the encoded data and passes it to WinUsb APIs.
84 //
86#endif
87};
88
89#endif // _FXUSBREQUESTCONTEXT_H_
Type
Definition: Type.h:7
#define __in
Definition: dbghelp.h:35
UCHAR FX_REQUEST_CONTEXT_TYPE
WDF_REQUEST_COMPLETION_PARAMS m_CompletionParams
virtual VOID CopyParameters(__in FxRequestBase *Request)
virtual USBD_STATUS GetUsbdStatus(VOID)=0
VOID SetUsbType(__in WDF_USB_REQUEST_TYPE Type)
WDF_USB_REQUEST_COMPLETION_PARAMS m_UsbParameters
VOID __inline InitUsbParameters(VOID)
FxUsbRequestContext(__in FX_REQUEST_CONTEXT_TYPE Type)
virtual VOID CopyParameters(__in FxRequestBase *Request)
Definition: umusb.h:173
struct _WDF_REQUEST_COMPLETION_PARAMS::@3883::@3888 Usb
union _WDF_REQUEST_COMPLETION_PARAMS::@3883 Parameters
WDF_USB_REQUEST_TYPE Type
Definition: wdfusb.h:327
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
LONG USBD_STATUS
Definition: usb.h:165
@ WdfRequestTypeUsb
Definition: wdfdevice.h:532
_In_ WDFREQUEST Request
Definition: wdfdevice.h:547
@ WdfUsbRequestTypeNoFormat
Definition: wdfusb.h:88
enum _WDF_USB_REQUEST_TYPE WDF_USB_REQUEST_TYPE