Trait windows::Win32::UI::Shell::PropertiesSystem::IPropertyUI_Impl

pub trait IPropertyUI_Impl: Sized {
    // Required methods
    fn ParsePropertyName(
        &self,
        pszname: &PCWSTR,
        pfmtid: *mut GUID,
        ppid: *mut u32,
        pcheaten: *mut u32,
    ) -> Result<()>;
    fn GetCannonicalName(
        &self,
        fmtid: *const GUID,
        pid: u32,
        pwsztext: PWSTR,
        cchtext: u32,
    ) -> Result<()>;
    fn GetDisplayName(
        &self,
        fmtid: *const GUID,
        pid: u32,
        flags: PROPERTYUI_NAME_FLAGS,
        pwsztext: PWSTR,
        cchtext: u32,
    ) -> Result<()>;
    fn GetPropertyDescription(
        &self,
        fmtid: *const GUID,
        pid: u32,
        pwsztext: PWSTR,
        cchtext: u32,
    ) -> Result<()>;
    fn GetDefaultWidth(&self, fmtid: *const GUID, pid: u32) -> Result<u32>;
    fn GetFlags(&self, fmtid: *const GUID, pid: u32) -> Result<PROPERTYUI_FLAGS>;
    fn FormatForDisplay(
        &self,
        fmtid: *const GUID,
        pid: u32,
        ppropvar: *const PROPVARIANT,
        puiff: PROPERTYUI_FORMAT_FLAGS,
        pwsztext: PWSTR,
        cchtext: u32,
    ) -> Result<()>;
    fn GetHelpInfo(
        &self,
        fmtid: *const GUID,
        pid: u32,
        pwszhelpfile: PWSTR,
        cch: u32,
        puhelpid: *mut u32,
    ) -> Result<()>;
}

Required Methods§

fn ParsePropertyName( &self, pszname: &PCWSTR, pfmtid: *mut GUID, ppid: *mut u32, pcheaten: *mut u32, ) -> Result<()>

fn GetCannonicalName( &self, fmtid: *const GUID, pid: u32, pwsztext: PWSTR, cchtext: u32, ) -> Result<()>

fn GetDisplayName( &self, fmtid: *const GUID, pid: u32, flags: PROPERTYUI_NAME_FLAGS, pwsztext: PWSTR, cchtext: u32, ) -> Result<()>

fn GetPropertyDescription( &self, fmtid: *const GUID, pid: u32, pwsztext: PWSTR, cchtext: u32, ) -> Result<()>

fn GetDefaultWidth(&self, fmtid: *const GUID, pid: u32) -> Result<u32>

fn GetFlags(&self, fmtid: *const GUID, pid: u32) -> Result<PROPERTYUI_FLAGS>

fn FormatForDisplay( &self, fmtid: *const GUID, pid: u32, ppropvar: *const PROPVARIANT, puiff: PROPERTYUI_FORMAT_FLAGS, pwsztext: PWSTR, cchtext: u32, ) -> Result<()>

fn GetHelpInfo( &self, fmtid: *const GUID, pid: u32, pwszhelpfile: PWSTR, cch: u32, puhelpid: *mut u32, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§