Trait windows::Win32::Globalization::IMultiLanguage_Impl
pub trait IMultiLanguage_Impl: Sized {
Show 15 methods
// Required methods
fn GetNumberOfCodePageInfo(&self) -> Result<u32>;
fn GetCodePageInfo(
&self,
uicodepage: u32,
pcodepageinfo: *mut MIMECPINFO,
) -> Result<()>;
fn GetFamilyCodePage(&self, uicodepage: u32) -> Result<u32>;
fn EnumCodePages(&self, grfflags: u32) -> Result<IEnumCodePage>;
fn GetCharsetInfo(
&self,
charset: &BSTR,
pcharsetinfo: *mut MIMECSETINFO,
) -> Result<()>;
fn IsConvertible(
&self,
dwsrcencoding: u32,
dwdstencoding: u32,
) -> Result<()>;
fn ConvertString(
&self,
pdwmode: *mut u32,
dwsrcencoding: u32,
dwdstencoding: u32,
psrcstr: *const u8,
pcsrcsize: *mut u32,
pdststr: *mut u8,
pcdstsize: *mut u32,
) -> Result<()>;
fn ConvertStringToUnicode(
&self,
pdwmode: *mut u32,
dwencoding: u32,
psrcstr: &PCSTR,
pcsrcsize: *mut u32,
pdststr: PWSTR,
pcdstsize: *mut u32,
) -> Result<()>;
fn ConvertStringFromUnicode(
&self,
pdwmode: *mut u32,
dwencoding: u32,
psrcstr: &PCWSTR,
pcsrcsize: *mut u32,
pdststr: PSTR,
pcdstsize: *mut u32,
) -> Result<()>;
fn ConvertStringReset(&self) -> Result<()>;
fn GetRfc1766FromLcid(&self, locale: u32) -> Result<BSTR>;
fn GetLcidFromRfc1766(
&self,
plocale: *mut u32,
bstrrfc1766: &BSTR,
) -> Result<()>;
fn EnumRfc1766(&self) -> Result<IEnumRfc1766>;
fn GetRfc1766Info(
&self,
locale: u32,
prfc1766info: *mut RFC1766INFO,
) -> Result<()>;
fn CreateConvertCharset(
&self,
uisrccodepage: u32,
uidstcodepage: u32,
dwproperty: u32,
) -> Result<IMLangConvertCharset>;
}
Required Methods§
fn GetNumberOfCodePageInfo(&self) -> Result<u32>
fn GetCodePageInfo( &self, uicodepage: u32, pcodepageinfo: *mut MIMECPINFO, ) -> Result<()>
fn GetFamilyCodePage(&self, uicodepage: u32) -> Result<u32>
fn EnumCodePages(&self, grfflags: u32) -> Result<IEnumCodePage>
fn GetCharsetInfo( &self, charset: &BSTR, pcharsetinfo: *mut MIMECSETINFO, ) -> Result<()>
fn IsConvertible(&self, dwsrcencoding: u32, dwdstencoding: u32) -> Result<()>
fn ConvertString( &self, pdwmode: *mut u32, dwsrcencoding: u32, dwdstencoding: u32, psrcstr: *const u8, pcsrcsize: *mut u32, pdststr: *mut u8, pcdstsize: *mut u32, ) -> Result<()>
fn ConvertStringToUnicode( &self, pdwmode: *mut u32, dwencoding: u32, psrcstr: &PCSTR, pcsrcsize: *mut u32, pdststr: PWSTR, pcdstsize: *mut u32, ) -> Result<()>
fn ConvertStringFromUnicode( &self, pdwmode: *mut u32, dwencoding: u32, psrcstr: &PCWSTR, pcsrcsize: *mut u32, pdststr: PSTR, pcdstsize: *mut u32, ) -> Result<()>
fn ConvertStringReset(&self) -> Result<()>
fn GetRfc1766FromLcid(&self, locale: u32) -> Result<BSTR>
fn GetLcidFromRfc1766( &self, plocale: *mut u32, bstrrfc1766: &BSTR, ) -> Result<()>
fn EnumRfc1766(&self) -> Result<IEnumRfc1766>
fn GetRfc1766Info( &self, locale: u32, prfc1766info: *mut RFC1766INFO, ) -> Result<()>
fn CreateConvertCharset( &self, uisrccodepage: u32, uidstcodepage: u32, dwproperty: u32, ) -> Result<IMLangConvertCharset>
Object Safety§
This trait is not object safe.