pub struct IFrnApplicationEvents { /* private fields */ }Implementations§
Source§impl IFrnApplicationEvents
impl IFrnApplicationEvents
Sourcepub fn from_impl<T: IFrnApplicationEventsImpl + 'static>(
value: T,
) -> ComPtr<IFrnApplicationEvents>
pub fn from_impl<T: IFrnApplicationEventsImpl + 'static>( value: T, ) -> ComPtr<IFrnApplicationEvents>
Wraps a Rust implementation into a COM object native code can call.
Sourcepub fn files_opened(&self, args: Option<&IFrnStringArray>)
pub fn files_opened(&self, args: Option<&IFrnStringArray>)
IFrnApplicationEvents::FilesOpened
Sourcepub fn urls_opened(&self, urls: Option<&IFrnStringArray>)
pub fn urls_opened(&self, urls: Option<&IFrnStringArray>)
IFrnApplicationEvents::UrlsOpened
Sourcepub fn try_shutdown(&self, is_os_shutdown: bool) -> FrnShutdownReply
pub fn try_shutdown(&self, is_os_shutdown: bool) -> FrnShutdownReply
IFrnApplicationEvents::TryShutdown
Sourcepub fn on_activate(&self)
pub fn on_activate(&self)
IFrnApplicationEvents::OnActivate
Sourcepub fn on_deactivate(&self)
pub fn on_deactivate(&self)
IFrnApplicationEvents::OnDeactivate
Sourcepub fn on_terminating(&self)
pub fn on_terminating(&self)
IFrnApplicationEvents::OnTerminating
Methods from Deref<Target = IUnknown>§
Trait Implementations§
Source§impl Deref for IFrnApplicationEvents
impl Deref for IFrnApplicationEvents
Source§impl<T: IFrnApplicationEventsImpl> ImplementedBy<T> for IFrnApplicationEvents
impl<T: IFrnApplicationEventsImpl> ImplementedBy<T> for IFrnApplicationEvents
const VTBL: &'static IFrnApplicationEventsVtbl
Source§impl Interface for IFrnApplicationEvents
impl Interface for IFrnApplicationEvents
type Vtbl = IFrnApplicationEventsVtbl
Source§fn matches_iid(iid: &Guid) -> bool
fn matches_iid(iid: &Guid) -> bool
true if iid names this interface or one of its bases (including
IUnknown). Both the IDL value and the value materialized by com.h
(see Guid::as_com_h_materialized) are accepted.fn as_unknown(&self) -> &IUnknown
fn as_raw(&self) -> *mut Self
Auto Trait Implementations§
impl !Send for IFrnApplicationEvents
impl !Sync for IFrnApplicationEvents
impl Freeze for IFrnApplicationEvents
impl RefUnwindSafe for IFrnApplicationEvents
impl Unpin for IFrnApplicationEvents
impl UnsafeUnpin for IFrnApplicationEvents
impl UnwindSafe for IFrnApplicationEvents
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more