pub struct IShellLinkDual(/* private fields */);
Implementations§
Source§impl IShellLinkDual
impl IShellLinkDual
pub unsafe fn GetTypeInfoCount(&self) -> Result<u32>
pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> Result<ITypeInfo>
pub unsafe fn GetIDsOfNames( &self, riid: *const Guid, rgsznames: *mut PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32, ) -> Result<()>
pub unsafe fn Invoke( &self, dispidmember: i32, riid: *const Guid, lcid: u32, wflags: u16, pdispparams: *mut DISPPARAMS, pvarresult: *mut VARIANT, pexcepinfo: *mut EXCEPINFO, puargerr: *mut u32, ) -> Result<()>
pub unsafe fn get_Path(&self) -> Result<BSTR>
pub unsafe fn put_Path<'a>(&self, bs: impl IntoParam<'a, BSTR>) -> Result<()>
pub unsafe fn get_Description(&self) -> Result<BSTR>
pub unsafe fn put_Description<'a>( &self, bs: impl IntoParam<'a, BSTR>, ) -> Result<()>
pub unsafe fn get_WorkingDirectory(&self) -> Result<BSTR>
pub unsafe fn put_WorkingDirectory<'a>( &self, bs: impl IntoParam<'a, BSTR>, ) -> Result<()>
pub unsafe fn get_Arguments(&self) -> Result<BSTR>
pub unsafe fn put_Arguments<'a>( &self, bs: impl IntoParam<'a, BSTR>, ) -> Result<()>
pub unsafe fn get_Hotkey(&self) -> Result<i32>
pub unsafe fn put_Hotkey(&self, ihk: i32) -> Result<()>
pub unsafe fn get_ShowCommand(&self) -> Result<i32>
pub unsafe fn put_ShowCommand(&self, ishowcommand: i32) -> Result<()>
pub unsafe fn Resolve(&self, fflags: i32) -> Result<()>
pub unsafe fn GetIconLocation( &self, pbs: *mut BSTR, piicon: *mut i32, ) -> Result<()>
pub unsafe fn SetIconLocation<'a>( &self, bs: impl IntoParam<'a, BSTR>, iicon: i32, ) -> Result<()>
pub unsafe fn Save<'a>(&self, vwhere: impl IntoParam<'a, VARIANT>) -> Result<()>
Trait Implementations§
Source§impl Clone for IShellLinkDual
impl Clone for IShellLinkDual
Source§fn clone(&self) -> IShellLinkDual
fn clone(&self) -> IShellLinkDual
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 IShellLinkDual
impl Debug for IShellLinkDual
Source§impl From<&IShellLinkDual> for IDispatch
impl From<&IShellLinkDual> for IDispatch
Source§fn from(value: &IShellLinkDual) -> Self
fn from(value: &IShellLinkDual) -> Self
Converts to this type from the input type.
Source§impl From<&IShellLinkDual> for IUnknown
impl From<&IShellLinkDual> for IUnknown
Source§fn from(value: &IShellLinkDual) -> Self
fn from(value: &IShellLinkDual) -> Self
Converts to this type from the input type.
Source§impl From<&IShellLinkDual2> for IShellLinkDual
impl From<&IShellLinkDual2> for IShellLinkDual
Source§fn from(value: &IShellLinkDual2) -> Self
fn from(value: &IShellLinkDual2) -> Self
Converts to this type from the input type.
Source§impl From<IShellLinkDual> for IDispatch
impl From<IShellLinkDual> for IDispatch
Source§fn from(value: IShellLinkDual) -> Self
fn from(value: IShellLinkDual) -> Self
Converts to this type from the input type.
Source§impl From<IShellLinkDual> for IUnknown
impl From<IShellLinkDual> for IUnknown
Source§fn from(value: IShellLinkDual) -> Self
fn from(value: IShellLinkDual) -> Self
Converts to this type from the input type.
Source§impl From<IShellLinkDual2> for IShellLinkDual
impl From<IShellLinkDual2> for IShellLinkDual
Source§fn from(value: IShellLinkDual2) -> Self
fn from(value: IShellLinkDual2) -> Self
Converts to this type from the input type.
Source§impl Interface for IShellLinkDual
impl Interface for IShellLinkDual
const IID: Guid
type Vtable = IShellLinkDual_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 IShellLinkDual
impl PartialEq for IShellLinkDual
impl Eq for IShellLinkDual
impl StructuralPartialEq for IShellLinkDual
Auto Trait Implementations§
impl Freeze for IShellLinkDual
impl RefUnwindSafe for IShellLinkDual
impl !Send for IShellLinkDual
impl !Sync for IShellLinkDual
impl Unpin for IShellLinkDual
impl UnwindSafe for IShellLinkDual
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