Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This structure contains detailed information gathered from the Multipurpose Internet Mail Extensions (MIME) database about a given code page.
Syntax
typedef struct tagMIMECPINFO { DWORD dwFlags; UINT uiCodePage; UINT uiFamilyCodePage; WCHAR wszDescription[MAX_MIMECP_NAME]; WCHAR wszWebCharset[MAX_MIMECSET_NAME]; WCHAR wszHeaderCharset[MAX_MIMECSET_NAME]; WCHAR wszBodyCharset[MAX_MIMECSET_NAME]; WCHAR wszFixedWidthFont[MAX_MIMEFACE_NAME]; WCHAR wszProportionalFont[MAX_MIMEFACE_NAME]; BYTE bGDICharset; } MIMECPINFO, *PMIMECPINFO; |
Members
- dwFlags
-
Combination of the values defined in the MIMECONTFenumeration or 0x0000.
- uiCodePage
-
Code page identifier value that conforms to the National Language Support (NLS) definition.
- uiFamilyCodePage
-
Windows code page with which the uiCodePagemember shares the attributes of the wszFixedWidthFontand wszProportionalFontmembers. If the value is not defined in the database, this member has the same value as the uiCodePagemember.
- wszDescription
-
Human-readable description of the uiCodePagemember.
- wszWebCharset
-
Character set name corresponding to the uiCodePagemember 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 wszBodyCharsetmember.
- wszHeaderCharset
-
Character set name, if it exists, that corresponds to the uiCodePagemember 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 wszBodyCharsetmember.
- wszBodyCharset
-
Character set name, if it exists, that corresponds to the uiCodePagemember 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 uiCodePagemember.
Remarks
A client can retrieve a MIMECPINFOstructure for every code page the system recognizes through calls to the IEnumCodePage::Nextmethod. Alternatively, this information can be accessed one code page at a time through calls to the IMultiLanguage::GetCodePageInfomethod.
Requirements
Header | mlang.h, mlang.idl |
Windows Embedded CE | Windows CE .NET 4.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |