pub struct ITaskbarList(/* private fields */);
Available on crate feature
shell
only.Expand description
ITaskbarList
COM interface.
Automatically calls
IUnknown::Release
when the object goes out of scope.
§Examples
use winsafe::{self as w, prelude::*, co};
let obj = w::CoCreateInstance::<w::ITaskbarList>(
&co::CLSID::TaskbarList,
None,
co::CLSCTX::INPROC_SERVER,
)?;
Trait Implementations§
Source§impl Clone for ITaskbarList
impl Clone for ITaskbarList
Source§impl Drop for ITaskbarList
impl Drop for ITaskbarList
Source§impl ole_IUnknown for ITaskbarList
impl ole_IUnknown for ITaskbarList
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 ITaskbarList
impl shell_ITaskbarList for ITaskbarList
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.impl Send for ITaskbarList
Auto Trait Implementations§
impl Freeze for ITaskbarList
impl RefUnwindSafe for ITaskbarList
impl !Sync for ITaskbarList
impl Unpin for ITaskbarList
impl UnwindSafe for ITaskbarList
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