Compartilhar via


MIMECPINFO structure

Contains detailed information gathered from the 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 enumerated type, or 0x0000.

  • uiCodePage
    Code page identifier value that conforms to the National Language Support (NLS) definition.

  • uiFamilyCodePage
    Windows code page with which uiCodePage shares the attributes of wszFixedWidthFont and wszProportionalFont. If not defined in the database, this member is the same value as uiCodePage.

  • wszDescription
    Human-readable description of uiCodePage.

  • wszWebCharset
    Character set name corresponding to uiCodePage in a form that can be used with browsers. If not present in the MIME database, this member is the same as wszBodyCharset.

  • wszHeaderCharset
    Character set name, if it exists, that corresponds to uiCodePage in a form that can be used with mail agent header tags. If not available in the database, this member is the same as wszBodyCharset.

  • wszBodyCharset
    Character set name, if it exists, that corresponds to uiCodePage in a form that can be used with mail agent body tags. If 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 uiCodePage.

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

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mlang.h

See also

Reference

EnumCodePages

GetCodePageInfo