Trait ICLRRuntimeInfo_Impl
pub trait ICLRRuntimeInfo_Impl: IUnknownImpl {
// Required methods
fn GetVersionString(
&self,
pwzbuffer: PWSTR,
pcchbuffer: *mut u32,
) -> Result<()>;
fn GetRuntimeDirectory(
&self,
pwzbuffer: PWSTR,
pcchbuffer: *mut u32,
) -> Result<()>;
fn IsLoaded(&self, hndprocess: HANDLE) -> Result<BOOL>;
fn LoadErrorString(
&self,
iresourceid: u32,
pwzbuffer: PWSTR,
pcchbuffer: *mut u32,
ilocaleid: i32,
) -> Result<()>;
fn LoadLibraryA(&self, pwzdllname: &PCWSTR) -> Result<HMODULE>;
fn GetProcAddress(&self, pszprocname: &PCSTR) -> Result<*mut c_void>;
fn GetInterface(
&self,
rclsid: *const GUID,
riid: *const GUID,
ppunk: *mut *mut c_void,
) -> Result<()>;
fn IsLoadable(&self) -> Result<BOOL>;
fn SetDefaultStartupFlags(
&self,
dwstartupflags: u32,
pwzhostconfigfile: &PCWSTR,
) -> Result<()>;
fn GetDefaultStartupFlags(
&self,
pdwstartupflags: *mut u32,
pwzhostconfigfile: PWSTR,
pcchhostconfigfile: *mut u32,
) -> Result<()>;
fn BindAsLegacyV2Runtime(&self) -> Result<()>;
fn IsStarted(
&self,
pbstarted: *mut BOOL,
pdwstartupflags: *mut u32,
) -> Result<()>;
}
Required Methods§
fn GetVersionString(&self, pwzbuffer: PWSTR, pcchbuffer: *mut u32) -> Result<()>
fn GetRuntimeDirectory( &self, pwzbuffer: PWSTR, pcchbuffer: *mut u32, ) -> Result<()>
fn IsLoaded(&self, hndprocess: HANDLE) -> Result<BOOL>
fn LoadErrorString( &self, iresourceid: u32, pwzbuffer: PWSTR, pcchbuffer: *mut u32, ilocaleid: i32, ) -> Result<()>
fn LoadLibraryA(&self, pwzdllname: &PCWSTR) -> Result<HMODULE>
fn GetProcAddress(&self, pszprocname: &PCSTR) -> Result<*mut c_void>
fn GetInterface( &self, rclsid: *const GUID, riid: *const GUID, ppunk: *mut *mut c_void, ) -> Result<()>
fn IsLoadable(&self) -> Result<BOOL>
fn SetDefaultStartupFlags( &self, dwstartupflags: u32, pwzhostconfigfile: &PCWSTR, ) -> Result<()>
fn GetDefaultStartupFlags( &self, pdwstartupflags: *mut u32, pwzhostconfigfile: PWSTR, pcchhostconfigfile: *mut u32, ) -> Result<()>
fn BindAsLegacyV2Runtime(&self) -> Result<()>
fn IsStarted( &self, pbstarted: *mut BOOL, pdwstartupflags: *mut u32, ) -> 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.