pub trait IClientRootSession: IObject {
Show 35 methods
fn bind_client_process(
&mut self,
self_process_handle: CopyHandle
) -> Result<()>;
fn query_all_interfaces_deprecated(
&mut self,
filter: DeviceFilter,
out_intfs: OutMapAliasBuffer<InterfaceQueryOutput>
) -> Result<u32>;
fn query_all_interfaces(
&mut self,
filter: DeviceFilter,
out_intfs: OutMapAliasBuffer<InterfaceQueryOutput>
) -> Result<u32>;
fn query_available_interfaces_deprecated(
&mut self,
filter: DeviceFilter,
out_intfs: OutMapAliasBuffer<InterfaceQueryOutput>
) -> Result<u32>;
fn query_available_interfaces(
&mut self,
filter: DeviceFilter,
out_intfs: OutMapAliasBuffer<InterfaceQueryOutput>
) -> Result<u32>;
fn query_acquired_interfaces_deprecated(
&mut self,
out_intfs: OutMapAliasBuffer<InterfaceQueryOutput>
) -> Result<u32>;
fn query_acquired_interfaces(
&mut self,
out_intfs: OutMapAliasBuffer<InterfaceQueryOutput>
) -> Result<u32>;
fn create_interface_available_event_deprecated(
&mut self,
event_id: InterfaceAvailableEventId,
filter: DeviceFilter
) -> Result<CopyHandle>;
fn create_interface_available_event(
&mut self,
event_id: InterfaceAvailableEventId,
filter: DeviceFilter
) -> Result<CopyHandle>;
fn destroy_interface_available_event_deprecated(
&mut self,
event_id: InterfaceAvailableEventId
) -> Result<()>;
fn destroy_interface_available_event(
&mut self,
event_id: InterfaceAvailableEventId
) -> Result<()>;
fn get_interface_state_change_event_deprecated(
&mut self
) -> Result<CopyHandle>;
fn get_interface_state_change_event(&mut self) -> Result<CopyHandle>;
fn acquire_usb_if_deprecated(
&mut self,
id: u32,
out_profile_buf: OutMapAliasBuffer<InterfaceProfile>
) -> Result<Shared<dyn IClientIfSession>>;
fn acquire_usb_if(
&mut self,
id: u32,
out_info_buf: OutMapAliasBuffer<InterfaceInfo>,
out_profile_buf: OutMapAliasBuffer<InterfaceProfile>
) -> Result<Shared<dyn IClientIfSession>>;
fn get_descriptor_string(
&mut self,
unk_1: u8,
unk_2: bool,
unk_maybe_id: u32,
out_desc_buf: OutMapAliasBuffer<u8>
) -> Result<u32>;
fn reset_device(&mut self, unk: u32) -> Result<()>;
fn sf_server_impl_bind_client_process(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_query_all_interfaces_deprecated(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_query_all_interfaces(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_query_available_interfaces_deprecated(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_query_available_interfaces(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_query_acquired_interfaces_deprecated(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_query_acquired_interfaces(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_create_interface_available_event_deprecated(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_create_interface_available_event(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_destroy_interface_available_event_deprecated(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_destroy_interface_available_event(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_get_interface_state_change_event_deprecated(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_get_interface_state_change_event(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_acquire_usb_if_deprecated(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_acquire_usb_if(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_get_descriptor_string(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_reset_device(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn get_sf_command_metadata_table(&self) -> CommandMetadataTable { ... }
}