25#include "FxUsbDeviceApiKm.tmh"
37WDFEXPORT(WdfUsbTargetDeviceRetrieveCurrentFrameNumber)(
66WDFEXPORT(WdfUsbTargetDeviceSendUrbSynchronously)(
99 "Failed to initialize FxSyncRequest");
104 "WDFUSBDEVICE %p, Urb %p",
UsbDevice, Urb);
118 buf.SetBuffer(Urb, 0);
130 "WDFUSBDEVICE %p, WDFREQUEST %p being submitted",
137 "Device %p, Urb %p, %!STATUS!",
147WDFEXPORT(WdfUsbTargetDeviceFormatRequestForUrb)(
177 "WDFUSBDEVICE %p, Request %p, Memory %p",
205 "UrbMemory %p buffer size, %I64d, smaller then"
206 "_URB_HEADER, %!STATUS!",
229 "WDFUSBDEVICE %p, Request %p, Memory %p, %!STATUS!",
239WDFEXPORT(WdfUsbTargetDeviceIsConnectedSynchronous)(
271WDFEXPORT(WdfUsbTargetDeviceCyclePortSynchronously)(
322WDFEXPORT(WdfUsbTargetDeviceFormatRequestForCyclePort)(
434 "USBDEVICE Must have been created with Client Contract Verion Info, %!STATUS!",
_Must_inspect_result_ NTSTATUS SubmitSync(__in FxRequestBase *Request, __in_opt PWDF_REQUEST_SEND_OPTIONS Options=NULL, __out_opt PULONG Action=NULL)
__inline FxRequestContext * GetContext(VOID)
_Must_inspect_result_ NTSTATUS FormatCycleRequest(__in FxRequestBase *Request)
_Must_inspect_result_ NTSTATUS IsConnected(VOID)
_Must_inspect_result_ __inline NTSTATUS GetCurrentFrameNumber(__in PULONG Current)
__checkReturn NTSTATUS CreateUrb(__in_opt PWDF_OBJECT_ATTRIBUTES Attributes, __out WDFMEMORY *UrbMemory, __deref_opt_out_bcount(sizeof(URB)) PURB *Urb)
_Must_inspect_result_ NTSTATUS CyclePort(VOID)
FX_URB_TYPE GetUrbType(VOID)
USBD_HANDLE GetUSBDHandle(VOID)
virtual size_t GetBufferSize(VOID)=0
_Must_inspect_result_ NTSTATUS ValidateMemoryOffsets(__in_opt PWDFMEMORY_OFFSET Offsets)
#define NT_SUCCESS(StatCode)
#define __drv_maxIRQL(irql)
__inline PFX_DRIVER_GLOBALS GetFxDriverGlobals(__in PWDF_DRIVER_GLOBALS DriverGlobals)
#define FxPointerNotNull(FxDriverGlobals, Ptr)
NTSTATUS __inline FxValidateRequestOptions(_In_ PFX_DRIVER_GLOBALS FxDriverGlobals, _In_ PWDF_REQUEST_SEND_OPTIONS Options, _In_opt_ FxRequestBase *Request=NULL)
@ FX_TYPE_IO_TARGET_USB_DEVICE
_Must_inspect_result_ __in WDFUSBDEVICE __in_opt WDFREQUEST __in_opt PWDF_REQUEST_SEND_OPTIONS RequestOptions
_Must_inspect_result_ __in WDFUSBDEVICE __in WDFREQUEST __in WDFMEMORY UrbMemory
_Must_inspect_result_ __in WDFUSBDEVICE __in_opt WDFREQUEST Request
_Must_inspect_result_ __in WDFUSBDEVICE __out PULONG CurrentFrameNumber
FxObjectHandleGetPtr(pFxDriverGlobals, UrbMemory, IFX_TYPE_MEMORY,(PVOID *) &pMemory)
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGIOTARGET, "WDFUSBDEVICE %p, Request %p, Memory %p", UsbDevice, Request, UrbMemory)
_Must_inspect_result_ __in WDFUSBDEVICE UsbDevice
_Must_inspect_result_ __in WDFUSBDEVICE __in WDFREQUEST __in WDFMEMORY __in_opt PWDFMEMORY_OFFSET UrbOffsets
__checkReturn __in WDFUSBDEVICE __in_opt PWDF_OBJECT_ATTRIBUTES Attributes
FxObjectHandleGetPtrAndGlobals(GetFxDriverGlobals(DriverGlobals), UsbDevice, FX_TYPE_IO_TARGET_USB_DEVICE,(PVOID *) &pUsbDevice, &pFxDriverGlobals)
PFX_DRIVER_GLOBALS pFxDriverGlobals
__inline NTSTATUS FxVerifierCheckIrqlLevel(__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in KIRQL Irql)
GLenum GLuint GLenum GLsizei const GLchar * buf
#define _Must_inspect_result_
#define __deref_opt_out_bcount(size)
#define __in_xcount(size)
#define TRACE_LEVEL_VERBOSE
#define TRACE_LEVEL_ERROR
VOID SetUsbType(__in WDF_USB_REQUEST_TYPE Type)
WDF_USB_REQUEST_COMPLETION_PARAMS m_UsbParameters
union _WDF_USB_REQUEST_COMPLETION_PARAMS::@3913 Parameters
struct _WDF_USB_REQUEST_COMPLETION_PARAMS::@3913::@3916 DeviceUrb
#define STATUS_INVALID_PARAMETER
#define STATUS_INVALID_DEVICE_STATE
NTSTATUS FxFormatUrbRequest(__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in FxIoTarget *Target, __in FxRequestBase *Request, __in FxRequestBuffer *Buffer, __in FX_URB_TYPE FxUrbType, __drv_when(FxUrbType==FxUrbTypeUsbdAllocated, __in) __drv_when(FxUrbType !=FxUrbTypeUsbdAllocated, __in_opt) USBD_HANDLE UsbdHandle)
_Must_inspect_result_ _In_ WDFDMAENABLER _In_ _In_opt_ PWDF_OBJECT_ATTRIBUTES Attributes
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PLONGLONG _In_opt_ PWDF_REQUEST_SEND_OPTIONS RequestOptions
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_ WDFREQUEST _In_ WDFMEMORY UrbMemory
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFUSBDEVICE * UsbDevice
_Must_inspect_result_ _In_ WDFUSBDEVICE _Out_ PULONG CurrentFrameNumber
@ WdfUsbRequestTypeDeviceUrb