Struct windows::Win32::System::Diagnostics::Debug::Extensions::IDebugHostModule
pub struct IDebugHostModule(/* private fields */);
Implementations§
§impl IDebugHostModule
impl IDebugHostModule
pub unsafe fn GetImageName(&self, allowpath: u8) -> Result<BSTR>
pub unsafe fn GetBaseLocation(&self) -> Result<Location>
pub unsafe fn GetVersion( &self, fileversion: Option<*mut u64>, productversion: Option<*mut u64>, ) -> Result<()>
pub unsafe fn FindTypeByName<P0>(&self, typename: P0) -> Result<IDebugHostType>where
P0: Param<PCWSTR>,
pub unsafe fn FindSymbolByRVA(&self, rva: u64) -> Result<IDebugHostSymbol>
pub unsafe fn FindSymbolByName<P0>(
&self,
symbolname: P0,
) -> Result<IDebugHostSymbol>where
P0: Param<PCWSTR>,
Methods from Deref<Target = IDebugHostSymbol>§
pub unsafe fn GetContext(&self) -> Result<IDebugHostContext>
pub unsafe fn EnumerateChildren<P0>(
&self,
kind: SymbolKind,
name: P0,
) -> Result<IDebugHostSymbolEnumerator>where
P0: Param<PCWSTR>,
pub unsafe fn GetSymbolKind(&self) -> Result<SymbolKind>
pub unsafe fn GetName(&self) -> Result<BSTR>
pub unsafe fn GetType(&self) -> Result<IDebugHostType>
pub unsafe fn GetContainingModule(&self) -> Result<IDebugHostModule>
pub unsafe fn CompareAgainst<P0>(
&self,
pcomparisonsymbol: P0,
comparisonflags: u32,
) -> Result<bool>where
P0: Param<IDebugHostSymbol>,
Trait Implementations§
§impl CanInto<IDebugHostModule> for IDebugHostModule2
impl CanInto<IDebugHostModule> for IDebugHostModule2
§impl CanInto<IDebugHostSymbol> for IDebugHostModule
impl CanInto<IDebugHostSymbol> for IDebugHostModule
§impl CanInto<IUnknown> for IDebugHostModule
impl CanInto<IUnknown> for IDebugHostModule
§impl Clone for IDebugHostModule
impl Clone for IDebugHostModule
§fn clone(&self) -> IDebugHostModule
fn clone(&self) -> IDebugHostModule
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IDebugHostModule
impl Debug for IDebugHostModule
§impl Deref for IDebugHostModule
impl Deref for IDebugHostModule
§impl From<&IDebugHostModule> for &IDebugHostSymbol
impl From<&IDebugHostModule> for &IDebugHostSymbol
§fn from(value: &IDebugHostModule) -> Self
fn from(value: &IDebugHostModule) -> Self
Converts to this type from the input type.
§impl From<&IDebugHostModule> for &IUnknown
impl From<&IDebugHostModule> for &IUnknown
§fn from(value: &IDebugHostModule) -> Self
fn from(value: &IDebugHostModule) -> Self
Converts to this type from the input type.
§impl From<&IDebugHostModule2> for &IDebugHostModule
impl From<&IDebugHostModule2> for &IDebugHostModule
§fn from(value: &IDebugHostModule2) -> Self
fn from(value: &IDebugHostModule2) -> Self
Converts to this type from the input type.
§impl From<IDebugHostModule> for IDebugHostSymbol
impl From<IDebugHostModule> for IDebugHostSymbol
§fn from(value: IDebugHostModule) -> Self
fn from(value: IDebugHostModule) -> Self
Converts to this type from the input type.
§impl From<IDebugHostModule> for IUnknown
impl From<IDebugHostModule> for IUnknown
§fn from(value: IDebugHostModule) -> Self
fn from(value: IDebugHostModule) -> Self
Converts to this type from the input type.
§impl From<IDebugHostModule2> for IDebugHostModule
impl From<IDebugHostModule2> for IDebugHostModule
§fn from(value: IDebugHostModule2) -> Self
fn from(value: IDebugHostModule2) -> Self
Converts to this type from the input type.
§impl Interface for IDebugHostModule
impl Interface for IDebugHostModule
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IDebugHostModule
impl PartialEq for IDebugHostModule
§fn eq(&self, other: &IDebugHostModule) -> bool
fn eq(&self, other: &IDebugHostModule) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IDebugHostModule
impl StructuralPartialEq for IDebugHostModule
Auto Trait Implementations§
impl Freeze for IDebugHostModule
impl RefUnwindSafe for IDebugHostModule
impl !Send for IDebugHostModule
impl !Sync for IDebugHostModule
impl Unpin for IDebugHostModule
impl UnwindSafe for IDebugHostModule
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)