Trait windows::Win32::UI::Shell::ISearchFolderItemFactory_Impl

pub trait ISearchFolderItemFactory_Impl: Sized {
    // Required methods
    fn SetDisplayName(&self, pszdisplayname: &PCWSTR) -> Result<()>;
    fn SetFolderTypeID(&self, ftid: &GUID) -> Result<()>;
    fn SetFolderLogicalViewMode(
        &self,
        flvm: FOLDERLOGICALVIEWMODE,
    ) -> Result<()>;
    fn SetIconSize(&self, iiconsize: i32) -> Result<()>;
    fn SetVisibleColumns(
        &self,
        cvisiblecolumns: u32,
        rgkey: *const PROPERTYKEY,
    ) -> Result<()>;
    fn SetSortColumns(
        &self,
        csortcolumns: u32,
        rgsortcolumns: *const SORTCOLUMN,
    ) -> Result<()>;
    fn SetGroupColumn(&self, keygroup: *const PROPERTYKEY) -> Result<()>;
    fn SetStacks(
        &self,
        cstackkeys: u32,
        rgstackkeys: *const PROPERTYKEY,
    ) -> Result<()>;
    fn SetScope(&self, psiascope: Option<&IShellItemArray>) -> Result<()>;
    fn SetCondition(&self, pcondition: Option<&ICondition>) -> Result<()>;
    fn GetShellItem(
        &self,
        riid: *const GUID,
        ppv: *mut *mut c_void,
    ) -> Result<()>;
    fn GetIDList(&self) -> Result<*mut ITEMIDLIST>;
}

Required Methods§

fn SetDisplayName(&self, pszdisplayname: &PCWSTR) -> Result<()>

fn SetFolderTypeID(&self, ftid: &GUID) -> Result<()>

fn SetFolderLogicalViewMode(&self, flvm: FOLDERLOGICALVIEWMODE) -> Result<()>

fn SetIconSize(&self, iiconsize: i32) -> Result<()>

fn SetVisibleColumns( &self, cvisiblecolumns: u32, rgkey: *const PROPERTYKEY, ) -> Result<()>

fn SetSortColumns( &self, csortcolumns: u32, rgsortcolumns: *const SORTCOLUMN, ) -> Result<()>

fn SetGroupColumn(&self, keygroup: *const PROPERTYKEY) -> Result<()>

fn SetStacks( &self, cstackkeys: u32, rgstackkeys: *const PROPERTYKEY, ) -> Result<()>

fn SetScope(&self, psiascope: Option<&IShellItemArray>) -> Result<()>

fn SetCondition(&self, pcondition: Option<&ICondition>) -> Result<()>

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

fn GetIDList(&self) -> Result<*mut ITEMIDLIST>

Object Safety§

This trait is not object safe.

Implementors§