pub struct IAssocHandler(/* private fields */);
Implementations§
Source§impl IAssocHandler
impl IAssocHandler
pub unsafe fn GetName(&self) -> Result<PWSTR>
pub unsafe fn GetUIName(&self) -> Result<PWSTR>
pub unsafe fn GetIconLocation( &self, ppszpath: *mut PWSTR, pindex: *mut i32, ) -> Result<()>
pub unsafe fn IsRecommended(&self) -> Result<()>
pub unsafe fn MakeDefault<'a>( &self, pszdescription: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn Invoke<'a>( &self, pdo: impl IntoParam<'a, IDataObject>, ) -> Result<()>
pub unsafe fn CreateInvoker<'a>( &self, pdo: impl IntoParam<'a, IDataObject>, ) -> Result<IAssocHandlerInvoker>
Trait Implementations§
Source§impl Clone for IAssocHandler
impl Clone for IAssocHandler
Source§fn clone(&self) -> IAssocHandler
fn clone(&self) -> IAssocHandler
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 IAssocHandler
impl Debug for IAssocHandler
Source§impl From<&IAssocHandler> for IUnknown
impl From<&IAssocHandler> for IUnknown
Source§fn from(value: &IAssocHandler) -> Self
fn from(value: &IAssocHandler) -> Self
Converts to this type from the input type.
Source§impl From<IAssocHandler> for IUnknown
impl From<IAssocHandler> for IUnknown
Source§fn from(value: IAssocHandler) -> Self
fn from(value: IAssocHandler) -> Self
Converts to this type from the input type.
Source§impl Interface for IAssocHandler
impl Interface for IAssocHandler
const IID: Guid
type Vtable = IAssocHandler_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 IAssocHandler
impl PartialEq for IAssocHandler
impl Eq for IAssocHandler
impl StructuralPartialEq for IAssocHandler
Auto Trait Implementations§
impl Freeze for IAssocHandler
impl RefUnwindSafe for IAssocHandler
impl !Send for IAssocHandler
impl !Sync for IAssocHandler
impl Unpin for IAssocHandler
impl UnwindSafe for IAssocHandler
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