pub struct IHandlerActivationHost(/* private fields */);
Implementations§
Source§impl IHandlerActivationHost
impl IHandlerActivationHost
pub unsafe fn BeforeCoCreateInstance<'a>( &self, clsidhandler: *const Guid, itemsbeingactivated: impl IntoParam<'a, IShellItemArray>, handlerinfo: impl IntoParam<'a, IHandlerInfo>, ) -> Result<()>
pub unsafe fn BeforeCreateProcess<'a>( &self, applicationpath: impl IntoParam<'a, PWSTR>, commandline: impl IntoParam<'a, PWSTR>, handlerinfo: impl IntoParam<'a, IHandlerInfo>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for IHandlerActivationHost
impl Clone for IHandlerActivationHost
Source§fn clone(&self) -> IHandlerActivationHost
fn clone(&self) -> IHandlerActivationHost
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 moreSource§impl Debug for IHandlerActivationHost
impl Debug for IHandlerActivationHost
Source§impl From<&IHandlerActivationHost> for IUnknown
impl From<&IHandlerActivationHost> for IUnknown
Source§fn from(value: &IHandlerActivationHost) -> Self
fn from(value: &IHandlerActivationHost) -> Self
Converts to this type from the input type.
Source§impl From<IHandlerActivationHost> for IUnknown
impl From<IHandlerActivationHost> for IUnknown
Source§fn from(value: IHandlerActivationHost) -> Self
fn from(value: IHandlerActivationHost) -> Self
Converts to this type from the input type.
Source§impl Interface for IHandlerActivationHost
impl Interface for IHandlerActivationHost
const IID: Guid
type Vtable = IHandlerActivationHost_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IHandlerActivationHost
impl PartialEq for IHandlerActivationHost
impl Eq for IHandlerActivationHost
impl StructuralPartialEq for IHandlerActivationHost
Auto Trait Implementations§
impl Freeze for IHandlerActivationHost
impl RefUnwindSafe for IHandlerActivationHost
impl !Send for IHandlerActivationHost
impl !Sync for IHandlerActivationHost
impl Unpin for IHandlerActivationHost
impl UnwindSafe for IHandlerActivationHost
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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