#[repr(C)]pub struct ILxssUserSession_Vtbl {Show 24 fields
pub base__: IUnknown_Vtbl,
pub CreateInstance: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, flags: u32, error: *mut LXSS_ERROR_INFO) -> HRESULT,
pub RegisterDistribution: unsafe extern "system" fn(this: *mut c_void, name: PCWSTR, version: u32, file_handle: HANDLE, stderr_handle: HANDLE, target_directory: PCWSTR, flags: u32, vhd_size: u64, package_family_name: PCWSTR, installed_name: *mut PWSTR, error: *mut LXSS_ERROR_INFO, out_guid: *mut GUID) -> HRESULT,
pub RegisterDistributionPipe: unsafe extern "system" fn(this: *mut c_void, name: PCWSTR, version: u32, pipe_handle: HANDLE, stderr_handle: HANDLE, target_directory: PCWSTR, flags: u32, vhd_size: u64, package_family_name: PCWSTR, installed_name: *mut PWSTR, error: *mut LXSS_ERROR_INFO, out_guid: *mut GUID) -> HRESULT,
pub GetDistributionId: unsafe extern "system" fn(this: *mut c_void, name: PCWSTR, flags: u32, error: *mut LXSS_ERROR_INFO, out_guid: *mut GUID) -> HRESULT,
pub TerminateDistribution: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, error: *mut LXSS_ERROR_INFO) -> HRESULT,
pub UnregisterDistribution: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, error: *mut LXSS_ERROR_INFO) -> HRESULT,
pub ConfigureDistribution: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, default_uid: u32, flags: u32, error: *mut LXSS_ERROR_INFO) -> HRESULT,
pub GetDistributionConfiguration: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, distribution_name: *mut PWSTR, version: *mut u32, default_uid: *mut u32, env_count: *mut u32, default_environment: *mut *mut PCSTR, flags: *mut u32, error: *mut LXSS_ERROR_INFO) -> HRESULT,
pub GetDefaultDistribution: unsafe extern "system" fn(this: *mut c_void, error: *mut LXSS_ERROR_INFO, out_guid: *mut GUID) -> HRESULT,
pub ResizeDistribution: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, output_handle: HANDLE, new_size: u64, error: *mut LXSS_ERROR_INFO) -> HRESULT,
pub SetDefaultDistribution: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, error: *mut LXSS_ERROR_INFO) -> HRESULT,
pub SetSparse: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, sparse: i32, allow_unsafe: i32, error: *mut LXSS_ERROR_INFO) -> HRESULT,
pub EnumerateDistributions: unsafe extern "system" fn(this: *mut c_void, count: *mut u32, distros: *mut *const LXSS_ENUMERATE_INFO, error: *mut LXSS_ERROR_INFO) -> HRESULT,
pub CreateLxProcess: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, filename: PCSTR, command_line_count: u32, command_line: *const PCSTR, cwd: PCWSTR, nt_path: PCWSTR, nt_env: *mut u16, nt_env_len: u32, username: PCWSTR, columns: i16, rows: i16, console_handle: u32, std_handles: *const LXSS_STD_HANDLES, flags: u32, out_distribution_id: *mut GUID, out_instance_id: *mut GUID, process_handle: *mut HANDLE, server_handle: *mut HANDLE, stdin: *mut HANDLE, stdout: *mut HANDLE, stderr: *mut HANDLE, comm_channel: *mut HANDLE, interop_socket: *mut HANDLE, error: *mut LXSS_ERROR_INFO) -> HRESULT,
pub SetVersion: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, version: u32, stderr_handle: HANDLE, error: *mut LXSS_ERROR_INFO) -> HRESULT,
pub ExportDistribution: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, file_handle: HANDLE, stderr_handle: HANDLE, flags: u32, error: *mut LXSS_ERROR_INFO) -> HRESULT,
pub ExportDistributionPipe: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, pipe_handle: HANDLE, stderr_handle: HANDLE, flags: u32, error: *mut LXSS_ERROR_INFO) -> HRESULT,
pub AttachDisk: unsafe extern "system" fn(this: *mut c_void, disk: PCWSTR, flags: u32, error: *mut LXSS_ERROR_INFO) -> HRESULT,
pub DetachDisk: unsafe extern "system" fn(this: *mut c_void, disk: PCWSTR, result: *mut i32, step: *mut i32, error: *mut LXSS_ERROR_INFO) -> HRESULT,
pub MountDisk: unsafe extern "system" fn(this: *mut c_void, disk: PCWSTR, flags: u32, partition_index: u32, name: PCWSTR, ttype: PCWSTR, options: PCWSTR, result: *mut i32, step: *mut i32, mount_name: *mut PWSTR, error: *mut LXSS_ERROR_INFO) -> HRESULT,
pub Shutdown: unsafe extern "system" fn(this: *mut c_void, force: i32) -> HRESULT,
pub ImportDistributionInplace: unsafe extern "system" fn(this: *mut c_void, name: PCWSTR, vhd_path: PCWSTR, error: *mut LXSS_ERROR_INFO, out_guid: *mut GUID) -> HRESULT,
pub MoveDistribution: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, name: PCWSTR, error: *mut LXSS_ERROR_INFO) -> HRESULT,
}Fields§
§base__: IUnknown_Vtbl§CreateInstance: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, flags: u32, error: *mut LXSS_ERROR_INFO) -> HRESULT§RegisterDistribution: unsafe extern "system" fn(this: *mut c_void, name: PCWSTR, version: u32, file_handle: HANDLE, stderr_handle: HANDLE, target_directory: PCWSTR, flags: u32, vhd_size: u64, package_family_name: PCWSTR, installed_name: *mut PWSTR, error: *mut LXSS_ERROR_INFO, out_guid: *mut GUID) -> HRESULT§RegisterDistributionPipe: unsafe extern "system" fn(this: *mut c_void, name: PCWSTR, version: u32, pipe_handle: HANDLE, stderr_handle: HANDLE, target_directory: PCWSTR, flags: u32, vhd_size: u64, package_family_name: PCWSTR, installed_name: *mut PWSTR, error: *mut LXSS_ERROR_INFO, out_guid: *mut GUID) -> HRESULT§GetDistributionId: unsafe extern "system" fn(this: *mut c_void, name: PCWSTR, flags: u32, error: *mut LXSS_ERROR_INFO, out_guid: *mut GUID) -> HRESULT§TerminateDistribution: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, error: *mut LXSS_ERROR_INFO) -> HRESULT§UnregisterDistribution: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, error: *mut LXSS_ERROR_INFO) -> HRESULT§ConfigureDistribution: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, default_uid: u32, flags: u32, error: *mut LXSS_ERROR_INFO) -> HRESULT§GetDistributionConfiguration: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, distribution_name: *mut PWSTR, version: *mut u32, default_uid: *mut u32, env_count: *mut u32, default_environment: *mut *mut PCSTR, flags: *mut u32, error: *mut LXSS_ERROR_INFO) -> HRESULT§GetDefaultDistribution: unsafe extern "system" fn(this: *mut c_void, error: *mut LXSS_ERROR_INFO, out_guid: *mut GUID) -> HRESULT§ResizeDistribution: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, output_handle: HANDLE, new_size: u64, error: *mut LXSS_ERROR_INFO) -> HRESULT§SetDefaultDistribution: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, error: *mut LXSS_ERROR_INFO) -> HRESULT§SetSparse: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, sparse: i32, allow_unsafe: i32, error: *mut LXSS_ERROR_INFO) -> HRESULT§EnumerateDistributions: unsafe extern "system" fn(this: *mut c_void, count: *mut u32, distros: *mut *const LXSS_ENUMERATE_INFO, error: *mut LXSS_ERROR_INFO) -> HRESULT§CreateLxProcess: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, filename: PCSTR, command_line_count: u32, command_line: *const PCSTR, cwd: PCWSTR, nt_path: PCWSTR, nt_env: *mut u16, nt_env_len: u32, username: PCWSTR, columns: i16, rows: i16, console_handle: u32, std_handles: *const LXSS_STD_HANDLES, flags: u32, out_distribution_id: *mut GUID, out_instance_id: *mut GUID, process_handle: *mut HANDLE, server_handle: *mut HANDLE, stdin: *mut HANDLE, stdout: *mut HANDLE, stderr: *mut HANDLE, comm_channel: *mut HANDLE, interop_socket: *mut HANDLE, error: *mut LXSS_ERROR_INFO) -> HRESULT§SetVersion: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, version: u32, stderr_handle: HANDLE, error: *mut LXSS_ERROR_INFO) -> HRESULT§ExportDistribution: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, file_handle: HANDLE, stderr_handle: HANDLE, flags: u32, error: *mut LXSS_ERROR_INFO) -> HRESULT§ExportDistributionPipe: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, pipe_handle: HANDLE, stderr_handle: HANDLE, flags: u32, error: *mut LXSS_ERROR_INFO) -> HRESULT§AttachDisk: unsafe extern "system" fn(this: *mut c_void, disk: PCWSTR, flags: u32, error: *mut LXSS_ERROR_INFO) -> HRESULT§DetachDisk: unsafe extern "system" fn(this: *mut c_void, disk: PCWSTR, result: *mut i32, step: *mut i32, error: *mut LXSS_ERROR_INFO) -> HRESULT§MountDisk: unsafe extern "system" fn(this: *mut c_void, disk: PCWSTR, flags: u32, partition_index: u32, name: PCWSTR, ttype: PCWSTR, options: PCWSTR, result: *mut i32, step: *mut i32, mount_name: *mut PWSTR, error: *mut LXSS_ERROR_INFO) -> HRESULT§Shutdown: unsafe extern "system" fn(this: *mut c_void, force: i32) -> HRESULT§ImportDistributionInplace: unsafe extern "system" fn(this: *mut c_void, name: PCWSTR, vhd_path: PCWSTR, error: *mut LXSS_ERROR_INFO, out_guid: *mut GUID) -> HRESULT§MoveDistribution: unsafe extern "system" fn(this: *mut c_void, distro_guid: *const GUID, name: PCWSTR, error: *mut LXSS_ERROR_INFO) -> HRESULTAuto Trait Implementations§
impl Freeze for ILxssUserSession_Vtbl
impl RefUnwindSafe for ILxssUserSession_Vtbl
impl Send for ILxssUserSession_Vtbl
impl Sync for ILxssUserSession_Vtbl
impl Unpin for ILxssUserSession_Vtbl
impl UnwindSafe for ILxssUserSession_Vtbl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more