ReactOS 0.4.16-dev-319-g6cf4263
FxUsbRequestContext Struct Referenceabstract

#include <fxusbrequestcontext.hpp>

Inheritance diagram for FxUsbRequestContext:
Collaboration diagram for FxUsbRequestContext:

Public Member Functions

 FxUsbRequestContext (__in FX_REQUEST_CONTEXT_TYPE Type)
 
virtual USBD_STATUS GetUsbdStatus (VOID)=0
 
virtual VOID CopyParameters (__in FxRequestBase *Request)
 
VOID SetUsbType (__in WDF_USB_REQUEST_TYPE Type)
 
VOID __inline InitUsbParameters (VOID)
 
- Public Member Functions inherited from FxRequestContext
 FxRequestContext (__in FX_REQUEST_CONTEXT_TYPE Type)
 
virtual ~FxRequestContext (VOID)
 
virtual VOID Dispose (VOID)
 
virtual VOID StoreAndReferenceMemory (__in FxRequestBuffer *Buffer)
 
virtual VOID ReleaseAndRestore (__in FxRequestBase *Request)
 
__inline BOOLEAN IsType (__in FX_REQUEST_CONTEXT_TYPE Type)
 
virtual VOID CopyParameters (__in FxRequestBase *Request)
 
VOID FormatWriteParams (__in_opt IFxMemory *WriteMemory, __in_opt PWDFMEMORY_OFFSET WriteOffsets)
 
VOID FormatReadParams (__in_opt IFxMemory *ReadMemory, __in_opt PWDFMEMORY_OFFSET ReadOffsets)
 
VOID FormatOtherParams (__in FxInternalIoctlParams *InternalIoctlParams)
 
- Public Member Functions inherited from FxStump
PVOID operator new (__in size_t Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals)
 
PVOID operator new (__in size_t Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals, __in POOL_TYPE PoolType)
 
VOID operator delete (__in PVOID pointer)
 
PVOID operator new[] (__in size_t Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals)
 
VOID operator delete[] (__in PVOID pointer)
 

Public Attributes

WDF_USB_REQUEST_COMPLETION_PARAMS m_UsbParameters
 
UMURB m_UmUrb
 
- Public Attributes inherited from FxRequestContext
WDF_REQUEST_COMPLETION_PARAMS m_CompletionParams
 
IFxMemorym_RequestMemory
 
FX_REQUEST_CONTEXT_TYPE m_RequestType
 

Additional Inherited Members

- Protected Member Functions inherited from FxRequestContext
VOID __inline InitCompletionParams (VOID)
 
- Protected Member Functions inherited from FxStump
 FxStump (VOID)
 
- Static Protected Member Functions inherited from FxRequestContext
static VOID _StoreAndReferenceMemoryWorker (__in PVOID Tag, __deref_out_opt IFxMemory **PPMemory, __in FxRequestBuffer *Buffer)
 

Detailed Description

Definition at line 28 of file fxusbrequestcontext.hpp.

Constructor & Destructor Documentation

◆ FxUsbRequestContext()

FxUsbRequestContext::FxUsbRequestContext ( __in FX_REQUEST_CONTEXT_TYPE  Type)
inline

Definition at line 29 of file fxusbrequestcontext.hpp.

31 :
33 {
36 }
Type
Definition: Type.h:7
VOID SetUsbType(__in WDF_USB_REQUEST_TYPE Type)
VOID __inline InitUsbParameters(VOID)
@ WdfUsbRequestTypeNoFormat
Definition: wdfusb.h:88

Member Function Documentation

◆ CopyParameters()

virtual VOID FxUsbRequestContext::CopyParameters ( __in FxRequestBase Request)
inlinevirtual

Reimplemented from FxRequestContext.

Reimplemented in FxUsbDeviceControlContext, FxUsbDeviceStringContext, and FxUsbPipeTransferContext.

Definition at line 46 of file fxusbrequestcontext.hpp.

49 {
52 }
virtual VOID CopyParameters(__in FxRequestBase *Request)
virtual USBD_STATUS GetUsbdStatus(VOID)=0
WDF_USB_REQUEST_COMPLETION_PARAMS m_UsbParameters
_In_ WDFREQUEST Request
Definition: wdfdevice.h:547

Referenced by FxUsbDeviceControlContext::CopyParameters(), FxUsbDeviceStringContext::CopyParameters(), and FxUsbPipeTransferContext::CopyParameters().

◆ GetUsbdStatus()

virtual USBD_STATUS FxUsbRequestContext::GetUsbdStatus ( VOID  )
pure virtual

◆ InitUsbParameters()

VOID __inline FxUsbRequestContext::InitUsbParameters ( VOID  )
inline

Definition at line 70 of file fxusbrequestcontext.hpp.

73 {
75 }
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262

Referenced by FxUsbRequestContext().

◆ SetUsbType()

VOID FxUsbRequestContext::SetUsbType ( __in WDF_USB_REQUEST_TYPE  Type)
inline

Definition at line 55 of file fxusbrequestcontext.hpp.

58 {
59 //
60 // The completion params are set every time we set the type
61 //
64
66 }
WDF_REQUEST_COMPLETION_PARAMS m_CompletionParams
union _WDF_REQUEST_COMPLETION_PARAMS::@3888 Parameters
struct _WDF_REQUEST_COMPLETION_PARAMS::@3888::@3893 Usb
WDF_USB_REQUEST_TYPE Type
Definition: wdfusb.h:327
@ WdfRequestTypeUsb
Definition: wdfdevice.h:532

Referenced by FxUsbPipe::_FormatTransfer(), FxUsbPipeContinuousReader::FormatRepeater(), FxUsbRequestContext(), if(), FxUsbPipeRequestContext::SetInfo(), FxUsbDeviceStringContext::SetUrbInfo(), and FxUsbDeviceControlContext::StoreAndReferenceMemory().

Member Data Documentation

◆ m_UmUrb

◆ m_UsbParameters


The documentation for this struct was generated from the following file: