Trait windows::Win32::UI::Shell::IDefaultFolderMenuInitialize_Impl
pub trait IDefaultFolderMenuInitialize_Impl: Sized {
// Required methods
fn Initialize(
&self,
hwnd: HWND,
pcmcb: Option<&IContextMenuCB>,
pidlfolder: *const ITEMIDLIST,
psf: Option<&IShellFolder>,
cidl: u32,
apidl: *const *const ITEMIDLIST,
punkassociation: Option<&IUnknown>,
ckeys: u32,
akeys: *const HKEY
) -> Result<()>;
fn SetMenuRestrictions(
&self,
dfmrvalues: DEFAULT_FOLDER_MENU_RESTRICTIONS
) -> Result<()>;
fn GetMenuRestrictions(
&self,
dfmrmask: DEFAULT_FOLDER_MENU_RESTRICTIONS
) -> Result<DEFAULT_FOLDER_MENU_RESTRICTIONS>;
fn SetHandlerClsid(&self, rclsid: *const GUID) -> Result<()>;
}
Required Methods§
fn Initialize( &self, hwnd: HWND, pcmcb: Option<&IContextMenuCB>, pidlfolder: *const ITEMIDLIST, psf: Option<&IShellFolder>, cidl: u32, apidl: *const *const ITEMIDLIST, punkassociation: Option<&IUnknown>, ckeys: u32, akeys: *const HKEY ) -> Result<()>
fn SetMenuRestrictions( &self, dfmrvalues: DEFAULT_FOLDER_MENU_RESTRICTIONS ) -> Result<()>
fn GetMenuRestrictions( &self, dfmrmask: DEFAULT_FOLDER_MENU_RESTRICTIONS ) -> Result<DEFAULT_FOLDER_MENU_RESTRICTIONS>
fn SetHandlerClsid(&self, rclsid: *const GUID) -> Result<()>
Object Safety§
This trait is not object safe.