pub struct ITrackShellMenu(/* private fields */);
Implementations§
Source§impl ITrackShellMenu
impl ITrackShellMenu
pub unsafe fn Initialize<'a>( &self, psmc: impl IntoParam<'a, IShellMenuCallback>, uid: u32, uidancestor: u32, dwflags: u32, ) -> Result<()>
pub unsafe fn GetMenuInfo( &self, ppsmc: *mut Option<IShellMenuCallback>, puid: *mut u32, puidancestor: *mut u32, pdwflags: *mut u32, ) -> Result<()>
pub unsafe fn SetShellFolder<'a>( &self, psf: impl IntoParam<'a, IShellFolder>, pidlfolder: *mut ITEMIDLIST, hkey: impl IntoParam<'a, HKEY>, dwflags: u32, ) -> Result<()>
pub unsafe fn GetShellFolder<T: Interface>( &self, pdwflags: *mut u32, ppidl: *mut *mut ITEMIDLIST, ) -> Result<T>
pub unsafe fn SetMenu<'a>( &self, hmenu: impl IntoParam<'a, HMENU>, hwnd: impl IntoParam<'a, HWND>, dwflags: u32, ) -> Result<()>
pub unsafe fn GetMenu( &self, phmenu: *mut HMENU, phwnd: *mut HWND, pdwflags: *mut u32, ) -> Result<()>
pub unsafe fn InvalidateItem( &self, psmd: *mut SMDATA, dwflags: u32, ) -> Result<()>
pub unsafe fn GetState(&self) -> Result<SMDATA>
pub unsafe fn SetMenuToolbar<'a>( &self, punk: impl IntoParam<'a, IUnknown>, dwflags: u32, ) -> Result<()>
pub unsafe fn SetObscured<'a>( &self, hwndtb: impl IntoParam<'a, HWND>, punkband: impl IntoParam<'a, IUnknown>, dwsmsetflags: u32, ) -> Result<()>
pub unsafe fn Popup<'a>( &self, hwnd: impl IntoParam<'a, HWND>, ppt: *mut POINTL, prcexclude: *mut RECTL, dwflags: i32, ) -> Result<()>
Trait Implementations§
Source§impl Clone for ITrackShellMenu
impl Clone for ITrackShellMenu
Source§fn clone(&self) -> ITrackShellMenu
fn clone(&self) -> ITrackShellMenu
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ITrackShellMenu
impl Debug for ITrackShellMenu
Source§impl From<&ITrackShellMenu> for IShellMenu
impl From<&ITrackShellMenu> for IShellMenu
Source§fn from(value: &ITrackShellMenu) -> Self
fn from(value: &ITrackShellMenu) -> Self
Converts to this type from the input type.
Source§impl From<&ITrackShellMenu> for IUnknown
impl From<&ITrackShellMenu> for IUnknown
Source§fn from(value: &ITrackShellMenu) -> Self
fn from(value: &ITrackShellMenu) -> Self
Converts to this type from the input type.
Source§impl From<ITrackShellMenu> for IShellMenu
impl From<ITrackShellMenu> for IShellMenu
Source§fn from(value: ITrackShellMenu) -> Self
fn from(value: ITrackShellMenu) -> Self
Converts to this type from the input type.
Source§impl From<ITrackShellMenu> for IUnknown
impl From<ITrackShellMenu> for IUnknown
Source§fn from(value: ITrackShellMenu) -> Self
fn from(value: ITrackShellMenu) -> Self
Converts to this type from the input type.
Source§impl Interface for ITrackShellMenu
impl Interface for ITrackShellMenu
const IID: Guid
type Vtable = ITrackShellMenu_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for ITrackShellMenu
impl PartialEq for ITrackShellMenu
impl Eq for ITrackShellMenu
impl StructuralPartialEq for ITrackShellMenu
Auto Trait Implementations§
impl Freeze for ITrackShellMenu
impl RefUnwindSafe for ITrackShellMenu
impl !Send for ITrackShellMenu
impl !Sync for ITrackShellMenu
impl Unpin for ITrackShellMenu
impl UnwindSafe for ITrackShellMenu
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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