ReactOS  0.4.15-dev-2720-g5ee0925
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)
 
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  }
FxRequestContext(__in FX_REQUEST_CONTEXT_TYPE Type)
VOID __inline InitUsbParameters(VOID)
VOID SetUsbType(__in WDF_USB_REQUEST_TYPE Type)
Type
Definition: Type.h:6

Member Function Documentation

◆ CopyParameters()

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

Reimplemented from FxRequestContext.

Reimplemented in FxUsbDeviceStringContext, FxUsbDeviceControlContext, and FxUsbPipeTransferContext.

Definition at line 46 of file fxusbrequestcontext.hpp.

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

Referenced by FxUsbPipeTransferContext::CopyParameters(), FxUsbDeviceControlContext::CopyParameters(), and FxUsbDeviceStringContext::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  }
WDF_USB_REQUEST_COMPLETION_PARAMS m_UsbParameters
#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  }
union _WDF_REQUEST_COMPLETION_PARAMS::@3676 Parameters
WDF_USB_REQUEST_TYPE Type
Definition: wdfusb.h:327
struct _WDF_REQUEST_COMPLETION_PARAMS::@3676::@3681 Usb
Type
Definition: Type.h:6
WDF_USB_REQUEST_COMPLETION_PARAMS m_UsbParameters
WDF_REQUEST_COMPLETION_PARAMS m_CompletionParams

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: