pub struct IDefaultFolderMenuInitialize(/* private fields */);
Implementations§
Source§impl IDefaultFolderMenuInitialize
impl IDefaultFolderMenuInitialize
pub unsafe fn Initialize<'a>( &self, hwnd: impl IntoParam<'a, HWND>, pcmcb: impl IntoParam<'a, IContextMenuCB>, pidlfolder: *mut ITEMIDLIST, psf: impl IntoParam<'a, IShellFolder>, cidl: u32, apidl: *mut *mut ITEMIDLIST, punkassociation: impl IntoParam<'a, IUnknown>, ckeys: u32, akeys: *const HKEY, ) -> Result<()>
pub unsafe fn SetMenuRestrictions( &self, dfmrvalues: DEFAULT_FOLDER_MENU_RESTRICTIONS, ) -> Result<()>
pub unsafe fn GetMenuRestrictions( &self, dfmrmask: DEFAULT_FOLDER_MENU_RESTRICTIONS, ) -> Result<DEFAULT_FOLDER_MENU_RESTRICTIONS>
pub unsafe fn SetHandlerClsid(&self, rclsid: *const Guid) -> Result<()>
Trait Implementations§
Source§impl Clone for IDefaultFolderMenuInitialize
impl Clone for IDefaultFolderMenuInitialize
Source§fn clone(&self) -> IDefaultFolderMenuInitialize
fn clone(&self) -> IDefaultFolderMenuInitialize
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 IDefaultFolderMenuInitialize
impl Debug for IDefaultFolderMenuInitialize
Source§impl From<&IDefaultFolderMenuInitialize> for IUnknown
impl From<&IDefaultFolderMenuInitialize> for IUnknown
Source§fn from(value: &IDefaultFolderMenuInitialize) -> Self
fn from(value: &IDefaultFolderMenuInitialize) -> Self
Converts to this type from the input type.
Source§impl From<IDefaultFolderMenuInitialize> for IUnknown
impl From<IDefaultFolderMenuInitialize> for IUnknown
Source§fn from(value: IDefaultFolderMenuInitialize) -> Self
fn from(value: IDefaultFolderMenuInitialize) -> Self
Converts to this type from the input type.
Source§impl Interface for IDefaultFolderMenuInitialize
impl Interface for IDefaultFolderMenuInitialize
const IID: Guid
type Vtable = IDefaultFolderMenuInitialize_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 IDefaultFolderMenuInitialize
impl PartialEq for IDefaultFolderMenuInitialize
Source§fn eq(&self, other: &IDefaultFolderMenuInitialize) -> bool
fn eq(&self, other: &IDefaultFolderMenuInitialize) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for IDefaultFolderMenuInitialize
impl StructuralPartialEq for IDefaultFolderMenuInitialize
Auto Trait Implementations§
impl Freeze for IDefaultFolderMenuInitialize
impl RefUnwindSafe for IDefaultFolderMenuInitialize
impl !Send for IDefaultFolderMenuInitialize
impl !Sync for IDefaultFolderMenuInitialize
impl Unpin for IDefaultFolderMenuInitialize
impl UnwindSafe for IDefaultFolderMenuInitialize
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