pub trait IDsDisplaySpecifier_Impl: Sized {
    // Required methods
    fn SetServer(
        &self,
        pszserver: &PCWSTR,
        pszusername: &PCWSTR,
        pszpassword: &PCWSTR,
        dwflags: u32
    ) -> Result<()>;
    fn SetLanguageID(&self, langid: u16) -> Result<()>;
    fn GetDisplaySpecifier(
        &self,
        pszobjectclass: &PCWSTR,
        riid: *const GUID,
        ppv: *mut *mut c_void
    ) -> Result<()>;
    fn GetIconLocation(
        &self,
        pszobjectclass: &PCWSTR,
        dwflags: u32,
        pszbuffer: PWSTR,
        cchbuffer: i32,
        presid: *mut i32
    ) -> Result<()>;
    fn GetIcon(
        &self,
        pszobjectclass: &PCWSTR,
        dwflags: u32,
        cxicon: i32,
        cyicon: i32
    ) -> HICON;
    fn GetFriendlyClassName(
        &self,
        pszobjectclass: &PCWSTR,
        pszbuffer: PWSTR,
        cchbuffer: i32
    ) -> Result<()>;
    fn GetFriendlyAttributeName(
        &self,
        pszobjectclass: &PCWSTR,
        pszattributename: &PCWSTR,
        pszbuffer: PWSTR,
        cchbuffer: u32
    ) -> Result<()>;
    fn IsClassContainer(
        &self,
        pszobjectclass: &PCWSTR,
        pszadspath: &PCWSTR,
        dwflags: u32
    ) -> BOOL;
    fn GetClassCreationInfo(
        &self,
        pszobjectclass: &PCWSTR,
        ppdscci: *mut *mut DSCLASSCREATIONINFO
    ) -> Result<()>;
    fn EnumClassAttributes(
        &self,
        pszobjectclass: &PCWSTR,
        pcbenum: LPDSENUMATTRIBUTES,
        lparam: LPARAM
    ) -> Result<()>;
    fn GetAttributeADsType(&self, pszattributename: &PCWSTR) -> ADSTYPE;
}

Required Methods§

fn SetServer( &self, pszserver: &PCWSTR, pszusername: &PCWSTR, pszpassword: &PCWSTR, dwflags: u32 ) -> Result<()>

fn SetLanguageID(&self, langid: u16) -> Result<()>

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

fn GetIconLocation( &self, pszobjectclass: &PCWSTR, dwflags: u32, pszbuffer: PWSTR, cchbuffer: i32, presid: *mut i32 ) -> Result<()>

fn GetIcon( &self, pszobjectclass: &PCWSTR, dwflags: u32, cxicon: i32, cyicon: i32 ) -> HICON

fn GetFriendlyClassName( &self, pszobjectclass: &PCWSTR, pszbuffer: PWSTR, cchbuffer: i32 ) -> Result<()>

fn GetFriendlyAttributeName( &self, pszobjectclass: &PCWSTR, pszattributename: &PCWSTR, pszbuffer: PWSTR, cchbuffer: u32 ) -> Result<()>

fn IsClassContainer( &self, pszobjectclass: &PCWSTR, pszadspath: &PCWSTR, dwflags: u32 ) -> BOOL

fn GetClassCreationInfo( &self, pszobjectclass: &PCWSTR, ppdscci: *mut *mut DSCLASSCREATIONINFO ) -> Result<()>

fn EnumClassAttributes( &self, pszobjectclass: &PCWSTR, pcbenum: LPDSENUMATTRIBUTES, lparam: LPARAM ) -> Result<()>

fn GetAttributeADsType(&self, pszattributename: &PCWSTR) -> ADSTYPE

Object Safety§

This trait is not object safe.

Implementors§