Trait winsafe::prelude::ole_IMoniker
source · pub trait ole_IMoniker: ole_IPersistStream {
Show 15 methods
// Provided methods
fn BindToObject<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 { ... }
fn CommonPrefixWith(&self, other: &impl ole_IMoniker) -> HrResult<IMoniker> { ... }
fn ComposeWith(
&self,
moniker_to_right: &impl ole_IMoniker,
only_if_not_generic: bool
) -> HrResult<IMoniker> { ... }
fn Enum(&self, forward: bool) -> HrResult<IMoniker> { ... }
fn GetDisplayName(
&self,
bind_ctx: &impl ole_IBindCtx,
moniker_to_left: Option<&impl ole_IMoniker>
) -> HrResult<String> { ... }
fn GetTimeOfLastChange(
&self,
bind_ctx: &impl ole_IBindCtx,
moniker_to_left: Option<&impl ole_IMoniker>
) -> HrResult<FILETIME> { ... }
fn Hash(&self) -> HrResult<u32> { ... }
fn Inverse(&self) -> HrResult<IMoniker> { ... }
fn IsEqual(&self, other_moniker: &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> { ... }
fn IsSystemMoniker(&self) -> HrResult<(bool, MKSYS)> { ... }
fn ParseDisplayName(
&self,
bind_ctx: &impl ole_IBindCtx,
moniker_to_left: &impl ole_IMoniker,
display_name: &str
) -> HrResult<(u32, IMoniker)> { ... }
fn Reduce(
&self,
bind_ctx: &impl ole_IBindCtx,
reduce_how_far: MKRREDUCE
) -> HrResult<(IMoniker, IMoniker)> { ... }
fn RelativePathTo(
&self,
other_moniker: &impl ole_IMoniker
) -> HrResult<IMoniker> { ... }
}
Available on crate features
kernel
and ole
only.Expand description
This trait is enabled with the ole
feature, and provides methods for
IMoniker
.
Prefer importing this trait through the prelude:
use winsafe::prelude::*;
Provided Methods§
sourcefn 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.
sourcefn 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.
sourcefn CommonPrefixWith(&self, other: &impl ole_IMoniker) -> HrResult<IMoniker>
fn CommonPrefixWith(&self, other: &impl ole_IMoniker) -> HrResult<IMoniker>
IMoniker::CommonPrefixWith
method.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn Hash(&self) -> HrResult<u32>
fn Hash(&self) -> HrResult<u32>
IMoniker::Hash
method.
sourcefn Inverse(&self) -> HrResult<IMoniker>
fn Inverse(&self) -> HrResult<IMoniker>
IMoniker::Inverse
method.
sourcefn IsEqual(&self, other_moniker: &impl ole_IMoniker) -> HrResult<bool>
fn IsEqual(&self, other_moniker: &impl ole_IMoniker) -> HrResult<bool>
IMoniker::IsEqual
method.
sourcefn 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.
sourcefn IsSystemMoniker(&self) -> HrResult<(bool, MKSYS)>
fn IsSystemMoniker(&self) -> HrResult<(bool, MKSYS)>
`IMoniker::IsSystemMoniker method.
sourcefn 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.
sourcefn 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.
Returns the moniker to the left, and the reduced moniker, respectively.
sourcefn RelativePathTo(
&self,
other_moniker: &impl ole_IMoniker
) -> HrResult<IMoniker>
fn RelativePathTo( &self, other_moniker: &impl ole_IMoniker ) -> HrResult<IMoniker>
IMoniker::RelativePathTo
method.
Object Safety§
This trait is not object safe.