Trait winsafe::prelude::shell_IShellLink

source ·
pub trait shell_IShellLink: ole_IUnknown {
Show 14 methods // Provided methods fn GetArguments(&self) -> HrResult<String> { ... } fn GetDescription(&self) -> HrResult<String> { ... } fn GetIconLocation(&self) -> HrResult<(String, i32)> { ... } fn GetPath( &self, fd: Option<&mut WIN32_FIND_DATA>, flags: SLGP ) -> HrResult<String> { ... } fn GetShowCmd(&self) -> HrResult<SW> { ... } fn GetWorkingDirectory(&self) -> HrResult<String> { ... } fn Resolve(&self, hwnd: &HWND, flags: SLR) -> HrResult<()> { ... } fn SetArguments(&self, args: &str) -> HrResult<()> { ... } fn SetDescription(&self, args: &str) -> HrResult<()> { ... } fn SetIconLocation(&self, path: &str, index: i32) -> HrResult<()> { ... } fn SetPath(&self, file: &str) -> HrResult<()> { ... } fn SetRelativePath(&self, file: &str) -> HrResult<()> { ... } fn SetShowCmd(&self, show_cmd: SW) -> HrResult<()> { ... } fn SetWorkingDirectory(&self, dir: &str) -> HrResult<()> { ... }
}
Available on crate features kernel and shell only.
Expand description

This trait is enabled with the shell feature, and provides methods for IShellLink.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§