Struct winsafe::ITaskbarList4
source · pub struct ITaskbarList4(/* private fields */);
Available on crate feature
shell
only.Expand description
ITaskbarList4
COM interface over ITaskbarList4VT
.
Automatically calls
IUnknown::Release
when the object goes out of scope.
§Examples
use winsafe::{self as w, prelude::*, co};
let obj = w::CoCreateInstance::<w::ITaskbarList4>(
&co::CLSID::TaskbarList,
None,
co::CLSCTX::INPROC_SERVER,
)?;
Trait Implementations§
source§impl Clone for ITaskbarList4
impl Clone for ITaskbarList4
source§impl Drop for ITaskbarList4
impl Drop for ITaskbarList4
source§impl ole_IUnknown for ITaskbarList4
impl ole_IUnknown for ITaskbarList4
source§unsafe fn from_ptr(p: *mut c_void) -> Self
unsafe fn from_ptr(p: *mut c_void) -> Self
Available on crate feature
ole
only.Creates an object from a COM virtual table pointer. Read more
source§unsafe fn as_mut(&mut self) -> &mut *mut c_void
unsafe fn as_mut(&mut self) -> &mut *mut c_void
Available on crate feature
ole
only.Returns a mutable reference do the underlying COM virtual table pointer. Read more
source§fn ptr(&self) -> *mut c_void
fn ptr(&self) -> *mut c_void
Available on crate feature
ole
only.Returns the pointer to the underlying COM virtual table. Read more
source§unsafe fn null() -> Self
unsafe fn null() -> Self
Available on crate feature
ole
only.Creates an object from a null COM virtual table pointer. Read more
source§fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
Available on crate feature
ole
only.IUnknown::QueryInterface
method.source§impl shell_ITaskbarList for ITaskbarList4
impl shell_ITaskbarList for ITaskbarList4
source§fn ActivateTab(&self, hwnd: &HWND) -> HrResult<()>
fn ActivateTab(&self, hwnd: &HWND) -> HrResult<()>
ITaskbarList::ActivateTab
method.source§fn SetActiveAlt(&self, hwnd: &HWND) -> HrResult<()>
fn SetActiveAlt(&self, hwnd: &HWND) -> HrResult<()>
ITaskbarList::SetActiveAlt
method.source§impl shell_ITaskbarList2 for ITaskbarList4
impl shell_ITaskbarList2 for ITaskbarList4
source§impl shell_ITaskbarList3 for ITaskbarList4
impl shell_ITaskbarList3 for ITaskbarList4
source§fn RegisterTab(&self, hwnd_tab: &HWND, hwnd_mdi: &HWND) -> HrResult<()>
fn RegisterTab(&self, hwnd_tab: &HWND, hwnd_mdi: &HWND) -> HrResult<()>
ITaskbarList3::RegisterTab
method.source§fn SetOverlayIcon(
&self,
hwnd: &HWND,
hicon: Option<&HICON>,
description: &str
) -> HrResult<()>
fn SetOverlayIcon( &self, hwnd: &HWND, hicon: Option<&HICON>, description: &str ) -> HrResult<()>
ITaskbarList3::SetOverlayIcon
method.source§fn SetProgressState(&self, hwnd: &HWND, tbpf_flags: TBPF) -> HrResult<()>
fn SetProgressState(&self, hwnd: &HWND, tbpf_flags: TBPF) -> HrResult<()>
ITaskbarList3::SetProgressState
method.source§fn SetTabActive(&self, hwnd_tab: &HWND, hwnd_mdi: &HWND) -> HrResult<()>
fn SetTabActive(&self, hwnd_tab: &HWND, hwnd_mdi: &HWND) -> HrResult<()>
ITaskbarList3::SetTabActive
method.source§fn SetTabOrder(
&self,
hwnd_tab: &HWND,
hwnd_insert_before: &HWND
) -> HrResult<()>
fn SetTabOrder( &self, hwnd_tab: &HWND, hwnd_insert_before: &HWND ) -> HrResult<()>
ITaskbarList3::SetTabOrder
method.source§fn SetThumbnailClip(&self, hwnd: &HWND, clip: Option<RECT>) -> HrResult<()>
fn SetThumbnailClip(&self, hwnd: &HWND, clip: Option<RECT>) -> HrResult<()>
ITaskbarList3::SetThumbnailClip
method.source§impl shell_ITaskbarList4 for ITaskbarList4
impl shell_ITaskbarList4 for ITaskbarList4
source§fn SetTabProperties(&self, hwnd_tab: &HWND, stp_flags: STPFLAG) -> HrResult<()>
fn SetTabProperties(&self, hwnd_tab: &HWND, stp_flags: STPFLAG) -> HrResult<()>
ITaskbarList4::SetTabProperties
method.impl Send for ITaskbarList4
Auto Trait Implementations§
impl Freeze for ITaskbarList4
impl RefUnwindSafe for ITaskbarList4
impl !Sync for ITaskbarList4
impl Unpin for ITaskbarList4
impl UnwindSafe for ITaskbarList4
Blanket Implementations§
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