pub struct IShellLinkW(/* private fields */);
Implementations§
Source§impl IShellLinkW
impl IShellLinkW
pub unsafe fn GetPath( &self, pszfile: PWSTR, cch: i32, pfd: *mut WIN32_FIND_DATAW, 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: PWSTR, cch: i32) -> Result<()>
pub unsafe fn SetDescription<'a>( &self, pszname: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn GetWorkingDirectory(&self, pszdir: PWSTR, cch: i32) -> Result<()>
pub unsafe fn SetWorkingDirectory<'a>( &self, pszdir: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn GetArguments(&self, pszargs: PWSTR, cch: i32) -> Result<()>
pub unsafe fn SetArguments<'a>( &self, pszargs: impl IntoParam<'a, PWSTR>, ) -> 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: PWSTR, cch: i32, piicon: *mut i32, ) -> Result<()>
pub unsafe fn SetIconLocation<'a>( &self, psziconpath: impl IntoParam<'a, PWSTR>, iicon: i32, ) -> Result<()>
pub unsafe fn SetRelativePath<'a>( &self, pszpathrel: impl IntoParam<'a, PWSTR>, 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, PWSTR>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for IShellLinkW
impl Clone for IShellLinkW
Source§fn clone(&self) -> IShellLinkW
fn clone(&self) -> IShellLinkW
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 IShellLinkW
impl Debug for IShellLinkW
Source§impl From<&IShellLinkW> for IUnknown
impl From<&IShellLinkW> for IUnknown
Source§fn from(value: &IShellLinkW) -> Self
fn from(value: &IShellLinkW) -> Self
Converts to this type from the input type.
Source§impl From<IShellLinkW> for IUnknown
impl From<IShellLinkW> for IUnknown
Source§fn from(value: IShellLinkW) -> Self
fn from(value: IShellLinkW) -> Self
Converts to this type from the input type.
Source§impl Interface for IShellLinkW
impl Interface for IShellLinkW
const IID: Guid
type Vtable = IShellLinkW_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 IShellLinkW
impl PartialEq for IShellLinkW
impl Eq for IShellLinkW
impl StructuralPartialEq for IShellLinkW
Auto Trait Implementations§
impl Freeze for IShellLinkW
impl RefUnwindSafe for IShellLinkW
impl !Send for IShellLinkW
impl !Sync for IShellLinkW
impl Unpin for IShellLinkW
impl UnwindSafe for IShellLinkW
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