pub struct IShellLinkDual2(/* private fields */);
Implementations§
Source§impl IShellLinkDual2
impl IShellLinkDual2
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<()>
pub unsafe fn get_Target(&self) -> Result<FolderItem>
Trait Implementations§
Source§impl Clone for IShellLinkDual2
impl Clone for IShellLinkDual2
Source§fn clone(&self) -> IShellLinkDual2
fn clone(&self) -> IShellLinkDual2
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 IShellLinkDual2
impl Debug for IShellLinkDual2
Source§impl From<&IShellLinkDual2> for IDispatch
impl From<&IShellLinkDual2> for IDispatch
Source§fn from(value: &IShellLinkDual2) -> Self
fn from(value: &IShellLinkDual2) -> 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<&IShellLinkDual2> for IUnknown
impl From<&IShellLinkDual2> for IUnknown
Source§fn from(value: &IShellLinkDual2) -> Self
fn from(value: &IShellLinkDual2) -> Self
Converts to this type from the input type.
Source§impl From<IShellLinkDual2> for IDispatch
impl From<IShellLinkDual2> for IDispatch
Source§fn from(value: IShellLinkDual2) -> Self
fn from(value: IShellLinkDual2) -> 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<IShellLinkDual2> for IUnknown
impl From<IShellLinkDual2> for IUnknown
Source§fn from(value: IShellLinkDual2) -> Self
fn from(value: IShellLinkDual2) -> Self
Converts to this type from the input type.
Source§impl Interface for IShellLinkDual2
impl Interface for IShellLinkDual2
const IID: Guid
type Vtable = IShellLinkDual2_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 IShellLinkDual2
impl PartialEq for IShellLinkDual2
impl Eq for IShellLinkDual2
impl StructuralPartialEq for IShellLinkDual2
Auto Trait Implementations§
impl Freeze for IShellLinkDual2
impl RefUnwindSafe for IShellLinkDual2
impl !Send for IShellLinkDual2
impl !Sync for IShellLinkDual2
impl Unpin for IShellLinkDual2
impl UnwindSafe for IShellLinkDual2
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