pub struct IMoniker(/* private fields */);
Available on crate feature
ole
only.Expand description
IMoniker
COM interface over IMonikerVT
.
Automatically calls
Release
when the object goes out of scope.
Trait Implementations§
source§impl ole_IMoniker for IMoniker
impl ole_IMoniker for IMoniker
source§fn BindToObject<T>(
&self,
bind_ctx: &impl ole_IBindCtx,
moniker_to_left: Option<&impl ole_IMoniker>
) -> HrResult<T>where
T: ole_IUnknown,
fn BindToObject<T>(
&self,
bind_ctx: &impl ole_IBindCtx,
moniker_to_left: Option<&impl ole_IMoniker>
) -> HrResult<T>where
T: ole_IUnknown,
IMoniker::BindToObject
method.source§fn BindToStorage<T>(
&self,
bind_ctx: &impl ole_IBindCtx,
moniker_to_left: Option<&impl ole_IMoniker>
) -> HrResult<T>where
T: ole_IUnknown,
fn BindToStorage<T>(
&self,
bind_ctx: &impl ole_IBindCtx,
moniker_to_left: Option<&impl ole_IMoniker>
) -> HrResult<T>where
T: ole_IUnknown,
IMoniker::BindToStorage
method.source§fn CommonPrefixWith(&self, other: &impl ole_IMoniker) -> HrResult<IMoniker>
fn CommonPrefixWith(&self, other: &impl ole_IMoniker) -> HrResult<IMoniker>
IMoniker::CommonPrefixWith
method.source§fn ComposeWith(
&self,
moniker_to_right: &impl ole_IMoniker,
only_if_not_generic: bool
) -> HrResult<IMoniker>
fn ComposeWith( &self, moniker_to_right: &impl ole_IMoniker, only_if_not_generic: bool ) -> HrResult<IMoniker>
IMoniker::ComposeWith
method.source§fn GetDisplayName(
&self,
bind_ctx: &impl ole_IBindCtx,
moniker_to_left: Option<&impl ole_IMoniker>
) -> HrResult<String>
fn GetDisplayName( &self, bind_ctx: &impl ole_IBindCtx, moniker_to_left: Option<&impl ole_IMoniker> ) -> HrResult<String>
IMoniker::GetDisplayName
method.source§fn GetTimeOfLastChange(
&self,
bind_ctx: &impl ole_IBindCtx,
moniker_to_left: Option<&impl ole_IMoniker>
) -> HrResult<FILETIME>
fn GetTimeOfLastChange( &self, bind_ctx: &impl ole_IBindCtx, moniker_to_left: Option<&impl ole_IMoniker> ) -> HrResult<FILETIME>
IMoniker::GetTimeOfLastChange
method.source§fn IsEqual(&self, other_moniker: &impl ole_IMoniker) -> HrResult<bool>
fn IsEqual(&self, other_moniker: &impl ole_IMoniker) -> HrResult<bool>
IMoniker::IsEqual
method.source§fn IsRunning(
&self,
bind_ctx: &impl ole_IBindCtx,
moniker_to_left: Option<&impl ole_IMoniker>,
moniker_newly_running: Option<&impl ole_IMoniker>
) -> HrResult<bool>
fn IsRunning( &self, bind_ctx: &impl ole_IBindCtx, moniker_to_left: Option<&impl ole_IMoniker>, moniker_newly_running: Option<&impl ole_IMoniker> ) -> HrResult<bool>
IMoniker::IsRunning
method.source§fn IsSystemMoniker(&self) -> HrResult<(bool, MKSYS)>
fn IsSystemMoniker(&self) -> HrResult<(bool, MKSYS)>
`IMoniker::IsSystemMoniker
method.
source§fn ParseDisplayName(
&self,
bind_ctx: &impl ole_IBindCtx,
moniker_to_left: &impl ole_IMoniker,
display_name: &str
) -> HrResult<(u32, IMoniker)>
fn ParseDisplayName( &self, bind_ctx: &impl ole_IBindCtx, moniker_to_left: &impl ole_IMoniker, display_name: &str ) -> HrResult<(u32, IMoniker)>
IMoniker::ParseDisplayName
method.source§fn Reduce(
&self,
bind_ctx: &impl ole_IBindCtx,
reduce_how_far: MKRREDUCE
) -> HrResult<(IMoniker, IMoniker)>
fn Reduce( &self, bind_ctx: &impl ole_IBindCtx, reduce_how_far: MKRREDUCE ) -> HrResult<(IMoniker, IMoniker)>
IMoniker::Reduce
method. Read moresource§fn RelativePathTo(
&self,
other_moniker: &impl ole_IMoniker
) -> HrResult<IMoniker>
fn RelativePathTo( &self, other_moniker: &impl ole_IMoniker ) -> HrResult<IMoniker>
IMoniker::RelativePathTo
method.source§impl ole_IPersist for IMoniker
impl ole_IPersist for IMoniker
source§fn GetClassID(&self) -> HrResult<CLSID>
fn GetClassID(&self) -> HrResult<CLSID>
IPersist::GetClassID
method.source§impl ole_IPersistStream for IMoniker
impl ole_IPersistStream for IMoniker
source§fn GetSizeMax(&self) -> HrResult<u64>
fn GetSizeMax(&self) -> HrResult<u64>
IPersistStream::GetSizeMax
method.source§fn Load(&self, stream: &impl ole_IStream) -> HrResult<()>
fn Load(&self, stream: &impl ole_IStream) -> HrResult<()>
IPersistStream::Load
method.source§fn Save(&self, stream: &impl ole_IStream, clear_dirty: bool) -> HrResult<()>
fn Save(&self, stream: &impl ole_IStream, clear_dirty: bool) -> HrResult<()>
IPersistStream::Save
method.source§impl ole_IUnknown for IMoniker
impl ole_IUnknown for IMoniker
source§unsafe fn from_ptr(p: *mut c_void) -> Self
unsafe fn from_ptr(p: *mut c_void) -> Self
Creates an object from a COM virtual table pointer. Read more
source§unsafe fn as_mut(&mut self) -> &mut *mut c_void
unsafe fn as_mut(&mut self) -> &mut *mut c_void
Returns a mutable reference do the underlying COM virtual table pointer. Read more
source§fn ptr(&self) -> *mut c_void
fn ptr(&self) -> *mut c_void
Returns the pointer to the underlying COM virtual table. Read more
source§fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
IUnknown::QueryInterface
method.impl Send for IMoniker
Auto Trait Implementations§
impl Freeze for IMoniker
impl RefUnwindSafe for IMoniker
impl !Sync for IMoniker
impl Unpin for IMoniker
impl UnwindSafe for IMoniker
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