Trait windows::Win32::UI::Shell::IShellLinkA_Impl

pub trait IShellLinkA_Impl: Sized {
Show 18 methods // Required methods fn GetPath( &self, pszfile: PSTR, cch: i32, pfd: *mut WIN32_FIND_DATAA, fflags: u32, ) -> Result<()>; fn GetIDList(&self) -> Result<*mut ITEMIDLIST>; fn SetIDList(&self, pidl: *const ITEMIDLIST) -> Result<()>; fn GetDescription(&self, pszname: PSTR, cch: i32) -> Result<()>; fn SetDescription(&self, pszname: &PCSTR) -> Result<()>; fn GetWorkingDirectory(&self, pszdir: PSTR, cch: i32) -> Result<()>; fn SetWorkingDirectory(&self, pszdir: &PCSTR) -> Result<()>; fn GetArguments(&self, pszargs: PSTR, cch: i32) -> Result<()>; fn SetArguments(&self, pszargs: &PCSTR) -> Result<()>; fn GetHotkey(&self) -> Result<u16>; fn SetHotkey(&self, whotkey: u16) -> Result<()>; fn GetShowCmd(&self) -> Result<SHOW_WINDOW_CMD>; fn SetShowCmd(&self, ishowcmd: SHOW_WINDOW_CMD) -> Result<()>; fn GetIconLocation( &self, psziconpath: PSTR, cch: i32, piicon: *mut i32, ) -> Result<()>; fn SetIconLocation(&self, psziconpath: &PCSTR, iicon: i32) -> Result<()>; fn SetRelativePath(&self, pszpathrel: &PCSTR, dwreserved: u32) -> Result<()>; fn Resolve(&self, hwnd: HWND, fflags: u32) -> Result<()>; fn SetPath(&self, pszfile: &PCSTR) -> Result<()>;
}

Required Methods§

fn GetPath( &self, pszfile: PSTR, cch: i32, pfd: *mut WIN32_FIND_DATAA, fflags: u32, ) -> Result<()>

fn GetIDList(&self) -> Result<*mut ITEMIDLIST>

fn SetIDList(&self, pidl: *const ITEMIDLIST) -> Result<()>

fn GetDescription(&self, pszname: PSTR, cch: i32) -> Result<()>

fn SetDescription(&self, pszname: &PCSTR) -> Result<()>

fn GetWorkingDirectory(&self, pszdir: PSTR, cch: i32) -> Result<()>

fn SetWorkingDirectory(&self, pszdir: &PCSTR) -> Result<()>

fn GetArguments(&self, pszargs: PSTR, cch: i32) -> Result<()>

fn SetArguments(&self, pszargs: &PCSTR) -> Result<()>

fn GetHotkey(&self) -> Result<u16>

fn SetHotkey(&self, whotkey: u16) -> Result<()>

fn GetShowCmd(&self) -> Result<SHOW_WINDOW_CMD>

fn SetShowCmd(&self, ishowcmd: SHOW_WINDOW_CMD) -> Result<()>

fn GetIconLocation( &self, psziconpath: PSTR, cch: i32, piicon: *mut i32, ) -> Result<()>

fn SetIconLocation(&self, psziconpath: &PCSTR, iicon: i32) -> Result<()>

fn SetRelativePath(&self, pszpathrel: &PCSTR, dwreserved: u32) -> Result<()>

fn Resolve(&self, hwnd: HWND, fflags: u32) -> Result<()>

fn SetPath(&self, pszfile: &PCSTR) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§