windows::Win32::System::ClrHosting

Trait IHostTaskManager_Impl

pub trait IHostTaskManager_Impl: IUnknownImpl {
Show 18 methods // Required methods fn GetCurrentTask(&self) -> Result<IHostTask>; fn CreateTask( &self, dwstacksize: u32, pstartaddress: LPTHREAD_START_ROUTINE, pparameter: *const c_void, ) -> Result<IHostTask>; fn Sleep(&self, dwmilliseconds: u32, option: u32) -> Result<()>; fn SwitchToTask(&self, option: u32) -> Result<()>; fn SetUILocale(&self, lcid: u32) -> Result<()>; fn SetLocale(&self, lcid: u32) -> Result<()>; fn CallNeedsHostHook(&self, target: usize) -> Result<BOOL>; fn LeaveRuntime(&self, target: usize) -> Result<()>; fn EnterRuntime(&self) -> Result<()>; fn ReverseLeaveRuntime(&self) -> Result<()>; fn ReverseEnterRuntime(&self) -> Result<()>; fn BeginDelayAbort(&self) -> Result<()>; fn EndDelayAbort(&self) -> Result<()>; fn BeginThreadAffinity(&self) -> Result<()>; fn EndThreadAffinity(&self) -> Result<()>; fn SetStackGuarantee(&self, guarantee: u32) -> Result<()>; fn GetStackGuarantee(&self) -> Result<u32>; fn SetCLRTaskManager( &self, ppmanager: Ref<'_, ICLRTaskManager>, ) -> Result<()>;
}

Required Methods§

fn GetCurrentTask(&self) -> Result<IHostTask>

fn CreateTask( &self, dwstacksize: u32, pstartaddress: LPTHREAD_START_ROUTINE, pparameter: *const c_void, ) -> Result<IHostTask>

fn Sleep(&self, dwmilliseconds: u32, option: u32) -> Result<()>

fn SwitchToTask(&self, option: u32) -> Result<()>

fn SetUILocale(&self, lcid: u32) -> Result<()>

fn SetLocale(&self, lcid: u32) -> Result<()>

fn CallNeedsHostHook(&self, target: usize) -> Result<BOOL>

fn LeaveRuntime(&self, target: usize) -> Result<()>

fn EnterRuntime(&self) -> Result<()>

fn ReverseLeaveRuntime(&self) -> Result<()>

fn ReverseEnterRuntime(&self) -> Result<()>

fn BeginDelayAbort(&self) -> Result<()>

fn EndDelayAbort(&self) -> Result<()>

fn BeginThreadAffinity(&self) -> Result<()>

fn EndThreadAffinity(&self) -> Result<()>

fn SetStackGuarantee(&self, guarantee: u32) -> Result<()>

fn GetStackGuarantee(&self) -> Result<u32>

fn SetCLRTaskManager(&self, ppmanager: Ref<'_, ICLRTaskManager>) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§