pub struct IShellLinkA(/* private fields */);
Implementations§
Source§impl IShellLinkA
impl IShellLinkA
pub unsafe fn GetPath( &self, pszfile: PSTR, cch: i32, pfd: *mut WIN32_FIND_DATAA, fflags: u32, ) -> Result<()>
pub unsafe fn GetIDList(&self) -> Result<*mut ITEMIDLIST>
pub unsafe fn SetIDList(&self, pidl: *mut ITEMIDLIST) -> Result<()>
pub unsafe fn GetDescription(&self, pszname: PSTR, cch: i32) -> Result<()>
pub unsafe fn SetDescription<'a>( &self, pszname: impl IntoParam<'a, PSTR>, ) -> Result<()>
pub unsafe fn GetWorkingDirectory(&self, pszdir: PSTR, cch: i32) -> Result<()>
pub unsafe fn SetWorkingDirectory<'a>( &self, pszdir: impl IntoParam<'a, PSTR>, ) -> Result<()>
pub unsafe fn GetArguments(&self, pszargs: PSTR, cch: i32) -> Result<()>
pub unsafe fn SetArguments<'a>( &self, pszargs: impl IntoParam<'a, PSTR>, ) -> Result<()>
pub unsafe fn GetHotkey(&self) -> Result<u16>
pub unsafe fn SetHotkey(&self, whotkey: u16) -> Result<()>
pub unsafe fn GetShowCmd(&self) -> Result<i32>
pub unsafe fn SetShowCmd(&self, ishowcmd: i32) -> Result<()>
pub unsafe fn GetIconLocation( &self, psziconpath: PSTR, cch: i32, piicon: *mut i32, ) -> Result<()>
pub unsafe fn SetIconLocation<'a>( &self, psziconpath: impl IntoParam<'a, PSTR>, iicon: i32, ) -> Result<()>
pub unsafe fn SetRelativePath<'a>( &self, pszpathrel: impl IntoParam<'a, PSTR>, dwreserved: u32, ) -> Result<()>
pub unsafe fn Resolve<'a>( &self, hwnd: impl IntoParam<'a, HWND>, fflags: u32, ) -> Result<()>
pub unsafe fn SetPath<'a>( &self, pszfile: impl IntoParam<'a, PSTR>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for IShellLinkA
impl Clone for IShellLinkA
Source§fn clone(&self) -> IShellLinkA
fn clone(&self) -> IShellLinkA
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 IShellLinkA
impl Debug for IShellLinkA
Source§impl From<&IShellLinkA> for IUnknown
impl From<&IShellLinkA> for IUnknown
Source§fn from(value: &IShellLinkA) -> Self
fn from(value: &IShellLinkA) -> Self
Converts to this type from the input type.
Source§impl From<IShellLinkA> for IUnknown
impl From<IShellLinkA> for IUnknown
Source§fn from(value: IShellLinkA) -> Self
fn from(value: IShellLinkA) -> Self
Converts to this type from the input type.
Source§impl Interface for IShellLinkA
impl Interface for IShellLinkA
const IID: Guid
type Vtable = IShellLinkA_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 IShellLinkA
impl PartialEq for IShellLinkA
impl Eq for IShellLinkA
impl StructuralPartialEq for IShellLinkA
Auto Trait Implementations§
impl Freeze for IShellLinkA
impl RefUnwindSafe for IShellLinkA
impl !Send for IShellLinkA
impl !Sync for IShellLinkA
impl Unpin for IShellLinkA
impl UnwindSafe for IShellLinkA
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