Trait windows::Win32::System::ClrHosting::ICLRRuntimeHost_Impl
pub trait ICLRRuntimeHost_Impl: Sized {
// Required methods
fn Start(&self) -> Result<()>;
fn Stop(&self) -> Result<()>;
fn SetHostControl(&self, phostcontrol: Option<&IHostControl>) -> Result<()>;
fn GetCLRControl(&self) -> Result<ICLRControl>;
fn UnloadAppDomain(
&self,
dwappdomainid: u32,
fwaituntildone: BOOL,
) -> Result<()>;
fn ExecuteInAppDomain(
&self,
dwappdomainid: u32,
pcallback: FExecuteInAppDomainCallback,
cookie: *const c_void,
) -> Result<()>;
fn GetCurrentAppDomainId(&self) -> Result<u32>;
fn ExecuteApplication(
&self,
pwzappfullname: &PCWSTR,
dwmanifestpaths: u32,
ppwzmanifestpaths: *const PCWSTR,
dwactivationdata: u32,
ppwzactivationdata: *const PCWSTR,
) -> Result<i32>;
fn ExecuteInDefaultAppDomain(
&self,
pwzassemblypath: &PCWSTR,
pwztypename: &PCWSTR,
pwzmethodname: &PCWSTR,
pwzargument: &PCWSTR,
) -> Result<u32>;
}
Required Methods§
fn Start(&self) -> Result<()>
fn Stop(&self) -> Result<()>
fn SetHostControl(&self, phostcontrol: Option<&IHostControl>) -> Result<()>
fn GetCLRControl(&self) -> Result<ICLRControl>
fn UnloadAppDomain( &self, dwappdomainid: u32, fwaituntildone: BOOL, ) -> Result<()>
fn ExecuteInAppDomain( &self, dwappdomainid: u32, pcallback: FExecuteInAppDomainCallback, cookie: *const c_void, ) -> Result<()>
fn GetCurrentAppDomainId(&self) -> Result<u32>
fn ExecuteApplication( &self, pwzappfullname: &PCWSTR, dwmanifestpaths: u32, ppwzmanifestpaths: *const PCWSTR, dwactivationdata: u32, ppwzactivationdata: *const PCWSTR, ) -> Result<i32>
fn ExecuteInDefaultAppDomain( &self, pwzassemblypath: &PCWSTR, pwztypename: &PCWSTR, pwzmethodname: &PCWSTR, pwzargument: &PCWSTR, ) -> Result<u32>
Object Safety§
This trait is not object safe.