ReactOS  0.4.15-dev-3182-g7b62228
fxusbrequestcontext.hpp
Go to the documentation of this file.
1 /*++
2 
3 Copyright (c) Microsoft Corporation
4 
5 Module Name:
6 
7  FxUsbRequestContext.hpp
8 
9 Abstract:
10 
11 Author:
12 
13 Environment:
14 
15  kernel mode only
16 
17 Revision 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 
77 public:
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_
virtual USBD_STATUS GetUsbdStatus(VOID)=0
VOID __inline InitUsbParameters(VOID)
_In_ WDFREQUEST Request
Definition: wdfdevice.h:547
virtual VOID CopyParameters(__in FxRequestBase *Request)
WDF_USB_REQUEST_TYPE Type
Definition: wdfusb.h:327
Definition: umusb.h:173
VOID SetUsbType(__in WDF_USB_REQUEST_TYPE Type)
Type
Definition: Type.h:6
virtual VOID CopyParameters(__in FxRequestBase *Request)
struct _WDF_REQUEST_COMPLETION_PARAMS::@3639::@3644 Usb
LONG USBD_STATUS
Definition: usb.h:165
WDF_USB_REQUEST_COMPLETION_PARAMS m_UsbParameters
UCHAR FX_REQUEST_CONTEXT_TYPE
WDF_REQUEST_COMPLETION_PARAMS m_CompletionParams
FxUsbRequestContext(__in FX_REQUEST_CONTEXT_TYPE Type)
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
#define __in
Definition: dbghelp.h:35
enum _WDF_USB_REQUEST_TYPE WDF_USB_REQUEST_TYPE
union _WDF_REQUEST_COMPLETION_PARAMS::@3639 Parameters