Trait windows::Win32::Globalization::IMLangFontLink2_Impl

pub trait IMLangFontLink2_Impl: Sized + IMLangCodePages_Impl {
    // Required methods
    fn GetFontCodePages(
        &self,
        hdc: HDC,
        hfont: HFONT,
        pdwcodepages: *mut u32,
    ) -> Result<()>;
    fn ReleaseFont(&self, hfont: HFONT) -> Result<()>;
    fn ResetFontMapping(&self) -> Result<()>;
    fn MapFont(
        &self,
        hdc: HDC,
        dwcodepages: u32,
        chsrc: u16,
        pfont: *mut HFONT,
    ) -> Result<()>;
    fn GetFontUnicodeRanges(
        &self,
        hdc: HDC,
        puiranges: *const u32,
        puranges: *mut UNICODERANGE,
    ) -> Result<()>;
    fn GetScriptFontInfo(
        &self,
        sid: u8,
        dwflags: u32,
        puifonts: *mut u32,
        pscriptfont: *mut SCRIPTFONTINFO,
    ) -> Result<()>;
    fn CodePageToScriptID(&self, uicodepage: u32) -> Result<u8>;
}

Required Methods§

fn GetFontCodePages( &self, hdc: HDC, hfont: HFONT, pdwcodepages: *mut u32, ) -> Result<()>

fn ReleaseFont(&self, hfont: HFONT) -> Result<()>

fn ResetFontMapping(&self) -> Result<()>

fn MapFont( &self, hdc: HDC, dwcodepages: u32, chsrc: u16, pfont: *mut HFONT, ) -> Result<()>

fn GetFontUnicodeRanges( &self, hdc: HDC, puiranges: *const u32, puranges: *mut UNICODERANGE, ) -> Result<()>

fn GetScriptFontInfo( &self, sid: u8, dwflags: u32, puifonts: *mut u32, pscriptfont: *mut SCRIPTFONTINFO, ) -> Result<()>

fn CodePageToScriptID(&self, uicodepage: u32) -> Result<u8>

Object Safety§

This trait is not object safe.

Implementors§