Trait windows::Win32::UI::Shell::ICategoryProvider_Impl

pub trait ICategoryProvider_Impl: Sized {
    // Required methods
    fn CanCategorizeOnSCID(&self, pscid: *const PROPERTYKEY) -> Result<()>;
    fn GetDefaultCategory(
        &self,
        pguid: *mut GUID,
        pscid: *mut PROPERTYKEY,
    ) -> Result<()>;
    fn GetCategoryForSCID(&self, pscid: *const PROPERTYKEY) -> Result<GUID>;
    fn EnumCategories(&self) -> Result<IEnumGUID>;
    fn GetCategoryName(
        &self,
        pguid: *const GUID,
        pszname: PWSTR,
        cch: u32,
    ) -> Result<()>;
    fn CreateCategory(
        &self,
        pguid: *const GUID,
        riid: *const GUID,
        ppv: *mut *mut c_void,
    ) -> Result<()>;
}

Required Methods§

fn CanCategorizeOnSCID(&self, pscid: *const PROPERTYKEY) -> Result<()>

fn GetDefaultCategory( &self, pguid: *mut GUID, pscid: *mut PROPERTYKEY, ) -> Result<()>

fn GetCategoryForSCID(&self, pscid: *const PROPERTYKEY) -> Result<GUID>

fn EnumCategories(&self) -> Result<IEnumGUID>

fn GetCategoryName( &self, pguid: *const GUID, pszname: PWSTR, cch: u32, ) -> Result<()>

fn CreateCategory( &self, pguid: *const GUID, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§