pub trait shell_ITaskbarList: ole_IUnknown {
// Provided methods
fn ActivateTab(&self, hwnd: &HWND) -> HrResult<()> { ... }
fn AddTab(&self, hwnd: &HWND) -> HrResult<()> { ... }
fn DeleteTab(&self, hwnd: &HWND) -> HrResult<()> { ... }
fn HrInit(&self) -> HrResult<()> { ... }
fn SetActiveAlt(&self, hwnd: &HWND) -> HrResult<()> { ... }
}
Available on crate features
kernel
and shell
only.Expand description
This trait is enabled with the shell
feature, and provides methods for
ITaskbarList
.
Prefer importing this trait through the prelude:
use winsafe::prelude::*;
Provided Methods§
Sourcefn ActivateTab(&self, hwnd: &HWND) -> HrResult<()>
fn ActivateTab(&self, hwnd: &HWND) -> HrResult<()>
ITaskbarList::ActivateTab
method.
Sourcefn HrInit(&self) -> HrResult<()>
fn HrInit(&self) -> HrResult<()>
ITaskbarList::HrInit
method.
Sourcefn SetActiveAlt(&self, hwnd: &HWND) -> HrResult<()>
fn SetActiveAlt(&self, hwnd: &HWND) -> HrResult<()>
ITaskbarList::SetActiveAlt
method.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.