windows::Win32::UI::Shell

Trait IDefaultFolderMenuInitialize_Impl

pub trait IDefaultFolderMenuInitialize_Impl: IUnknownImpl {
    // Required methods
    fn Initialize(
        &self,
        hwnd: HWND,
        pcmcb: Ref<'_, IContextMenuCB>,
        pidlfolder: *const ITEMIDLIST,
        psf: Ref<'_, IShellFolder>,
        cidl: u32,
        apidl: *const *const ITEMIDLIST,
        punkassociation: Ref<'_, 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: Ref<'_, IContextMenuCB>, pidlfolder: *const ITEMIDLIST, psf: Ref<'_, IShellFolder>, cidl: u32, apidl: *const *const ITEMIDLIST, punkassociation: Ref<'_, 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<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§