pub struct IExplorerCommand(/* private fields */);
Implementations§
Source§impl IExplorerCommand
impl IExplorerCommand
pub unsafe fn GetTitle<'a>( &self, psiitemarray: impl IntoParam<'a, IShellItemArray>, ) -> Result<PWSTR>
pub unsafe fn GetIcon<'a>( &self, psiitemarray: impl IntoParam<'a, IShellItemArray>, ) -> Result<PWSTR>
pub unsafe fn GetToolTip<'a>( &self, psiitemarray: impl IntoParam<'a, IShellItemArray>, ) -> Result<PWSTR>
pub unsafe fn GetCanonicalName(&self) -> Result<Guid>
pub unsafe fn GetState<'a>( &self, psiitemarray: impl IntoParam<'a, IShellItemArray>, foktobeslow: impl IntoParam<'a, BOOL>, ) -> Result<u32>
pub unsafe fn Invoke<'a>( &self, psiitemarray: impl IntoParam<'a, IShellItemArray>, pbc: impl IntoParam<'a, IBindCtx>, ) -> Result<()>
pub unsafe fn GetFlags(&self) -> Result<u32>
pub unsafe fn EnumSubCommands(&self) -> Result<IEnumExplorerCommand>
Trait Implementations§
Source§impl Clone for IExplorerCommand
impl Clone for IExplorerCommand
Source§fn clone(&self) -> IExplorerCommand
fn clone(&self) -> IExplorerCommand
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 IExplorerCommand
impl Debug for IExplorerCommand
Source§impl From<&IExplorerCommand> for IUnknown
impl From<&IExplorerCommand> for IUnknown
Source§fn from(value: &IExplorerCommand) -> Self
fn from(value: &IExplorerCommand) -> Self
Converts to this type from the input type.
Source§impl From<IExplorerCommand> for IUnknown
impl From<IExplorerCommand> for IUnknown
Source§fn from(value: IExplorerCommand) -> Self
fn from(value: IExplorerCommand) -> Self
Converts to this type from the input type.
Source§impl Interface for IExplorerCommand
impl Interface for IExplorerCommand
const IID: Guid
type Vtable = IExplorerCommand_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 IExplorerCommand
impl PartialEq for IExplorerCommand
impl Eq for IExplorerCommand
impl StructuralPartialEq for IExplorerCommand
Auto Trait Implementations§
impl Freeze for IExplorerCommand
impl RefUnwindSafe for IExplorerCommand
impl !Send for IExplorerCommand
impl !Sync for IExplorerCommand
impl Unpin for IExplorerCommand
impl UnwindSafe for IExplorerCommand
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