MIMECPINFO (Windows CE 5.0)
This structure contains detailed information gathered from the Multipurpose Internet Mail Extensions (MIME) database about a given code page.
typedef struct tagMIMECPINFO {DWORDdwFlags;UINTuiCodePage;UINTuiFamilyCodePage;WCHARwszDescription[MAX_MIMECP_NAME];WCHARwszWebCharset[MAX_MIMECSET_NAME];WCHARwszHeaderCharset[MAX_MIMECSET_NAME];WCHARwszBodyCharset[MAX_MIMECSET_NAME];WCHARwszFixedWidthFont[MAX_MIMEFACE_NAME];WCHARwszProportionalFont[MAX_MIMEFACE_NAME];BYTEbGDICharset;} MIMECPINFO, *PMIMECPINFO;
Members
- dwFlags
Combination of the values defined in the MIMECONTF enumeration or 0x0000. - uiCodePage
Code page identifier value that conforms to the National Language Support (NLS) definition. - uiFamilyCodePage
Windows code page with which the uiCodePage member shares the attributes of the wszFixedWidthFont and wszProportionalFont members. If the value is not defined in the database, this member has the same value as the uiCodePage member. - wszDescription
Human-readable description of the uiCodePage member. - wszWebCharset
Character set name corresponding to the uiCodePage member in a form that can be used with Web browsers. If the value is not present in the MIME database, this member has the same value as the wszBodyCharset member. - wszHeaderCharset
Character set name, if it exists, that corresponds to the uiCodePage member in a form that can be used with mail agent header tags. If the value is not available in the database, this member has the same value as the wszBodyCharset member. - wszBodyCharset
Character set name, if it exists, that corresponds to the uiCodePage member in a form that can be used with mail agent body tags. If the value is not available in the database, this member should return NULL. - wszFixedWidthFont
Default typeface to be used for the fixed-width font. A browser client can use this name to choose a font for a fixed-pitch text element. - wszProportionalFont
Default typeface to be used for the proportional font. A browser client can use this name to choose a font for a proportional text element. - bGDICharset
Windows character set representation that corresponds to the uiCodePage member.
Remarks
A client can retrieve a MIMECPINFO structure for every code page the system recognizes through calls to the IEnumCodePage::Next method. Alternatively, this information can be accessed one code page at a time through calls to the IMultiLanguage::GetCodePageInfo method.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Mlang.h, Mlang.idl.
See Also
IEnumCodePage::Next | IMultiLanguage::GetCodePageInfo
Send Feedback on this topic to the authors