FreeRDP
Loading...
Searching...
No Matches
IUDEVICE Struct Reference
Collaboration diagram for IUDEVICE:

Public Member Functions

 BASIC_DEV_STATE_DEFINED (channelManager, IWTSVirtualChannelManager *)
 
 BASIC_DEV_STATE_DEFINED (channelID, UINT32)
 
 BASIC_DEV_STATE_DEFINED (UsbDevice, UINT32)
 
 BASIC_DEV_STATE_DEFINED (ReqCompletion, UINT32)
 
 BASIC_DEV_STATE_DEFINED (bus_number, BYTE)
 
 BASIC_DEV_STATE_DEFINED (dev_number, BYTE)
 
 BASIC_DEV_STATE_DEFINED (port_number, UINT8)
 
 BASIC_DEV_STATE_DEFINED (MsConfig, MSUSB_CONFIG_DESCRIPTOR *)
 
 BASIC_DEV_STATE_DEFINED (p_udev, void *)
 
 BASIC_DEV_STATE_DEFINED (p_prev, void *)
 
 BASIC_DEV_STATE_DEFINED (p_next, void *)
 

Data Fields

WINPR_ATTR_NODISCARD int(* isoch_transfer )(IUDEVICE *idev, GENERIC_CHANNEL_CALLBACK *callback, UINT32 MessageId, UINT32 RequestId, UINT32 EndpointAddress, UINT32 TransferFlags, UINT32 StartFrame, UINT32 ErrorCount, BOOL NoAck, const BYTE *packetDescriptorData, UINT32 NumberOfPackets, UINT32 BufferSize, const BYTE *Buffer, t_isoch_transfer_cb cb, UINT32 Timeout)
 
WINPR_ATTR_NODISCARD BOOL(* control_transfer )(IUDEVICE *idev, UINT32 RequestId, UINT32 EndpointAddress, UINT32 TransferFlags, BYTE bmRequestType, BYTE Request, UINT16 Value, UINT16 Index, UINT32 *UrbdStatus, UINT32 *BufferSize, BYTE *Buffer, UINT32 Timeout)
 
WINPR_ATTR_NODISCARD int(* bulk_or_interrupt_transfer )(IUDEVICE *idev, GENERIC_CHANNEL_CALLBACK *callback, UINT32 MessageId, UINT32 RequestId, UINT32 EndpointAddress, UINT32 TransferFlags, BOOL NoAck, UINT32 BufferSize, const BYTE *data, t_isoch_transfer_cb cb, UINT32 Timeout)
 
WINPR_ATTR_NODISCARD int(* select_configuration )(IUDEVICE *idev, UINT32 bConfigurationValue)
 
WINPR_ATTR_NODISCARD int(* select_interface )(IUDEVICE *idev, BYTE InterfaceNumber, BYTE AlternateSetting)
 
WINPR_ATTR_NODISCARD int(* control_pipe_request )(IUDEVICE *idev, UINT32 RequestId, UINT32 EndpointAddress, UINT32 *UsbdStatus, int command)
 
WINPR_ATTR_NODISCARD UINT32(* control_query_device_text )(IUDEVICE *idev, UINT32 TextType, UINT16 LocaleId, UINT8 *BufferSize, BYTE *Buffer)
 
WINPR_ATTR_NODISCARD int(* os_feature_descriptor_request )(IUDEVICE *idev, UINT32 RequestId, BYTE Recipient, BYTE InterfaceNumber, BYTE Ms_PageIndex, UINT16 Ms_featureDescIndex, UINT32 *UsbdStatus, UINT32 *BufferSize, BYTE *Buffer, UINT32 Timeout)
 
void(* cancel_all_transfer_request )(IUDEVICE *idev)
 
WINPR_ATTR_NODISCARD int(* cancel_transfer_request )(IUDEVICE *idev, UINT32 RequestId)
 
WINPR_ATTR_NODISCARD int(* query_device_descriptor )(IUDEVICE *idev, int offset)
 
WINPR_ATTR_NODISCARD BOOL(* detach_kernel_driver )(IUDEVICE *idev)
 
WINPR_ATTR_NODISCARD BOOL(* attach_kernel_driver )(IUDEVICE *idev)
 
WINPR_ATTR_NODISCARD int(* query_device_port_status )(IUDEVICE *idev, UINT32 *UsbdStatus, UINT32 *BufferSize, BYTE *Buffer)
 
WINPR_ATTR_NODISCARD MSUSB_CONFIG_DESCRIPTOR *(* complete_msconfig_setup )(IUDEVICE *idev, MSUSB_CONFIG_DESCRIPTOR *MsConfig)
 
WINPR_ATTR_NODISCARD int(* isCompositeDevice )(IUDEVICE *idev)
 
WINPR_ATTR_NODISCARD int(* isExist )(IUDEVICE *idev)
 
WINPR_ATTR_NODISCARD int(* isAlreadySend )(IUDEVICE *idev)
 
WINPR_ATTR_NODISCARD int(* isChannelClosed )(IUDEVICE *idev)
 
void(* setAlreadySend )(IUDEVICE *idev)
 
void(* setChannelClosed )(IUDEVICE *idev)
 
void(* markChannelClosed )(IUDEVICE *idev)
 
WINPR_ATTR_NODISCARD char *(* getPath )(IUDEVICE *idev)
 
void(* free )(IUDEVICE *idev)
 

Detailed Description

Definition at line 97 of file urbdrc_main.h.

Field Documentation

◆ attach_kernel_driver

WINPR_ATTR_NODISCARD BOOL(* IUDEVICE::attach_kernel_driver) (IUDEVICE *idev)

Definition at line 143 of file urbdrc_main.h.

◆ bulk_or_interrupt_transfer

WINPR_ATTR_NODISCARD int(* IUDEVICE::bulk_or_interrupt_transfer) (IUDEVICE *idev, GENERIC_CHANNEL_CALLBACK *callback, UINT32 MessageId, UINT32 RequestId, UINT32 EndpointAddress, UINT32 TransferFlags, BOOL NoAck, UINT32 BufferSize, const BYTE *data, t_isoch_transfer_cb cb, UINT32 Timeout)

Definition at line 112 of file urbdrc_main.h.

◆ cancel_all_transfer_request

void(* IUDEVICE::cancel_all_transfer_request) (IUDEVICE *idev)

Definition at line 135 of file urbdrc_main.h.

◆ cancel_transfer_request

WINPR_ATTR_NODISCARD int(* IUDEVICE::cancel_transfer_request) (IUDEVICE *idev, UINT32 RequestId)

Definition at line 137 of file urbdrc_main.h.

◆ complete_msconfig_setup

WINPR_ATTR_NODISCARD MSUSB_CONFIG_DESCRIPTOR *(* IUDEVICE::complete_msconfig_setup) (IUDEVICE *idev, MSUSB_CONFIG_DESCRIPTOR *MsConfig)

Definition at line 148 of file urbdrc_main.h.

◆ control_pipe_request

WINPR_ATTR_NODISCARD int(* IUDEVICE::control_pipe_request) (IUDEVICE *idev, UINT32 RequestId, UINT32 EndpointAddress, UINT32 *UsbdStatus, int command)

Definition at line 122 of file urbdrc_main.h.

◆ control_query_device_text

WINPR_ATTR_NODISCARD UINT32(* IUDEVICE::control_query_device_text) (IUDEVICE *idev, UINT32 TextType, UINT16 LocaleId, UINT8 *BufferSize, BYTE *Buffer)

Definition at line 126 of file urbdrc_main.h.

◆ control_transfer

WINPR_ATTR_NODISCARD BOOL(* IUDEVICE::control_transfer) (IUDEVICE *idev, UINT32 RequestId, UINT32 EndpointAddress, UINT32 TransferFlags, BYTE bmRequestType, BYTE Request, UINT16 Value, UINT16 Index, UINT32 *UrbdStatus, UINT32 *BufferSize, BYTE *Buffer, UINT32 Timeout)

Definition at line 106 of file urbdrc_main.h.

◆ detach_kernel_driver

WINPR_ATTR_NODISCARD BOOL(* IUDEVICE::detach_kernel_driver) (IUDEVICE *idev)

Definition at line 141 of file urbdrc_main.h.

◆ free

void(* IUDEVICE::free) (IUDEVICE *idev)

Definition at line 162 of file urbdrc_main.h.

◆ getPath

WINPR_ATTR_NODISCARD char *(* IUDEVICE::getPath) (IUDEVICE *idev)

Definition at line 160 of file urbdrc_main.h.

◆ isAlreadySend

WINPR_ATTR_NODISCARD int(* IUDEVICE::isAlreadySend) (IUDEVICE *idev)

Definition at line 154 of file urbdrc_main.h.

◆ isChannelClosed

WINPR_ATTR_NODISCARD int(* IUDEVICE::isChannelClosed) (IUDEVICE *idev)

Definition at line 155 of file urbdrc_main.h.

◆ isCompositeDevice

WINPR_ATTR_NODISCARD int(* IUDEVICE::isCompositeDevice) (IUDEVICE *idev)

Definition at line 151 of file urbdrc_main.h.

◆ isExist

WINPR_ATTR_NODISCARD int(* IUDEVICE::isExist) (IUDEVICE *idev)

Definition at line 153 of file urbdrc_main.h.

◆ isoch_transfer

WINPR_ATTR_NODISCARD int(* IUDEVICE::isoch_transfer) (IUDEVICE *idev, GENERIC_CHANNEL_CALLBACK *callback, UINT32 MessageId, UINT32 RequestId, UINT32 EndpointAddress, UINT32 TransferFlags, UINT32 StartFrame, UINT32 ErrorCount, BOOL NoAck, const BYTE *packetDescriptorData, UINT32 NumberOfPackets, UINT32 BufferSize, const BYTE *Buffer, t_isoch_transfer_cb cb, UINT32 Timeout)

Definition at line 100 of file urbdrc_main.h.

◆ markChannelClosed

void(* IUDEVICE::markChannelClosed) (IUDEVICE *idev)

Definition at line 159 of file urbdrc_main.h.

◆ os_feature_descriptor_request

WINPR_ATTR_NODISCARD int(* IUDEVICE::os_feature_descriptor_request) (IUDEVICE *idev, UINT32 RequestId, BYTE Recipient, BYTE InterfaceNumber, BYTE Ms_PageIndex, UINT16 Ms_featureDescIndex, UINT32 *UsbdStatus, UINT32 *BufferSize, BYTE *Buffer, UINT32 Timeout)

Definition at line 130 of file urbdrc_main.h.

◆ query_device_descriptor

WINPR_ATTR_NODISCARD int(* IUDEVICE::query_device_descriptor) (IUDEVICE *idev, int offset)

Definition at line 139 of file urbdrc_main.h.

◆ query_device_port_status

WINPR_ATTR_NODISCARD int(* IUDEVICE::query_device_port_status) (IUDEVICE *idev, UINT32 *UsbdStatus, UINT32 *BufferSize, BYTE *Buffer)

Definition at line 145 of file urbdrc_main.h.

◆ select_configuration

WINPR_ATTR_NODISCARD int(* IUDEVICE::select_configuration) (IUDEVICE *idev, UINT32 bConfigurationValue)

Definition at line 117 of file urbdrc_main.h.

◆ select_interface

WINPR_ATTR_NODISCARD int(* IUDEVICE::select_interface) (IUDEVICE *idev, BYTE InterfaceNumber, BYTE AlternateSetting)

Definition at line 119 of file urbdrc_main.h.

◆ setAlreadySend

void(* IUDEVICE::setAlreadySend) (IUDEVICE *idev)

Definition at line 157 of file urbdrc_main.h.

◆ setChannelClosed

void(* IUDEVICE::setChannelClosed) (IUDEVICE *idev)

Definition at line 158 of file urbdrc_main.h.


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