pub trait IClientIfSession: IObject {
Show 29 methods
fn get_state_change_event(&mut self) -> Result<CopyHandle>;
fn set_interface(
&mut self,
unk: u8,
profile_buf: InMapAliasBuffer<InterfaceProfile>
) -> Result<()>;
fn get_interface(
&mut self,
out_profile_buf: OutMapAliasBuffer<InterfaceProfile>
) -> Result<()>;
fn get_alternate_interface(
&mut self,
unk: u8,
out_profile_buf: OutMapAliasBuffer<InterfaceProfile>
) -> Result<()>;
fn get_current_frame_deprecated(&mut self) -> Result<u32>;
fn get_current_frame(&mut self) -> Result<u32>;
fn ctrl_xfer_async(
&mut self,
request_type: u8,
request: u8,
val: u16,
idx: u16,
length: u16,
buf_addr: u64
) -> Result<()>;
fn submit_control_in_request(
&mut self,
request: u8,
request_type: u8,
val: u16,
idx: u16,
length: u16,
timeout_ms: u32,
out_buf: OutMapAliasBuffer<u8>
) -> Result<u32>;
fn get_ctrl_xfer_completion_event(&mut self) -> Result<CopyHandle>;
fn submit_control_out_request(
&mut self,
request: u8,
request_type: u8,
val: u16,
idx: u16,
length: u16,
timeout_ms: u32,
buf: InMapAliasBuffer<u8>
) -> Result<u32>;
fn get_ctrl_xfer_report(
&mut self,
out_report_buf: OutMapAliasBuffer<XferReport>
) -> Result<()>;
fn reset_device(&mut self, unk: u32) -> Result<()>;
fn open_usb_ep_deprecated(
&mut self,
max_urb_count: u16,
ep_type: u32,
ep_number: u32,
ep_direction: u32,
max_xfer_size: u32
) -> Result<(EndPointDescriptor, Shared<dyn IClientEpSession>)>;
fn open_usb_ep(
&mut self,
max_urb_count: u16,
ep_type: u32,
ep_number: u32,
ep_direction: u32,
max_xfer_size: u32
) -> Result<(EndPointDescriptor, Shared<dyn IClientEpSession>)>;
fn sf_server_impl_get_state_change_event(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_set_interface(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_get_interface(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_get_alternate_interface(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_get_current_frame_deprecated(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_get_current_frame(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_ctrl_xfer_async(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_submit_control_in_request(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_get_ctrl_xfer_completion_event(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_submit_control_out_request(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_get_ctrl_xfer_report(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_reset_device(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_open_usb_ep_deprecated(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_open_usb_ep(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn get_sf_command_metadata_table(&self) -> CommandMetadataTable { ... }
}