다음을 통해 공유


MIMECPINFO (Windows Embedded CE 6.0)

1/6/2010

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 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

Header mlang.h, mlang.idl
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Internet Explorer MLang Structures
IEnumCodePage::Next
IMultiLanguage::GetCodePageInfo