Share via


CODEPAGEINFO structure

Do not use. Holds information about a code page. A client can use an IMimeInternational object to look up a CODEPAGEINFO for a given CODEPAGEID.

Syntax

typedef struct tagCODEPAGEINFO {
  DWORD        dwMask;
  CODEPAGEID   cpiCodePage;
  BOOL         fIsValidCodePage;
  ULONG        ulMaxCharSize;
  BOOL         fInternetCP;
  CODEPAGEID   cpiFamily;
  CHAR         szName[CCHMAX_LANG_NAME];
  CHAR         szBodyCset[CCHMAX_CSET_NAME];
  CHAR         szHeaderCset[CCHMAX_CSET_NAME];
  CHAR         szWebCset[CCHMAX_CSET_NAME];
  CHAR         szFixedFont[CCHMAX_FACE_NAME];
  CHAR         szVariableFont[CCHMAX_FACE_NAME];
  ENCODINGTYPE ietNewsDefault;
  ENCODINGTYPE ietMailDefault;
  DWORD        dwReserved1;
} CODEPAGEINFO, *LPCODEPAGEINFO;

Members

dwMask

Type: DWORD

Contains a bitmask that indicates the valid fields in this structure. (INETLANGMASK)

Value Meaning
ILM_FAMILY
0x00000001
Indicates that cpiFamily is valid.
ILM_NAME
0x00000002
Indicates that szName is valid.
ILM_BODYCSET
0x00000004
Indicates that szBodyCset is valid.
ILM_HEADERCSET
0x00000008
Indicates that szHeaderCset is valid.
ILM_WEBCSET
0x00000010
Indicates that szWebCset is valid.
ILM_FIXEDFONT
0x00000020
Indicates that szFixedFont is valid.
ILM_VARIABLEFONT
0x00000040
Indicates that szVariableFont is valid.

cpiCodePage

Type: CODEPAGEID

Contains the ID of this code page. For more information, see CODEPAGEID.

fIsValidCodePage

Type: BOOL

Contains the result of IsValidCodePage(cpiCodePage). This member is TRUE when this code page is a valid Windows code page.

ulMaxCharSize

Type: ULONG

Contains the size, in bytes, of the largest character in the code page.

fInternetCP

Type: BOOL

Contains a value that indicates whether this is an Internet code page. When this member is TRUE, text encoded in this code page can be transmitted over the Internet.

cpiFamily

Type: CODEPAGEID

Contains the Windows code page ID when fInternetCP is TRUE. For more information, see CODEPAGEID.

szName

Type: CHAR[CCHMAX_LANG_NAME]

Contains the name or description of this code page.

szBodyCset

Type: CHAR[CCHMAX_CSET_NAME]

Contains the name of the default body character set that corresponds to CHARSET_BODY.

szHeaderCset

Type: CHAR[CCHMAX_CSET_NAME]

Contains the name of the default header character set that corresponds to CHARSET_HEADER.

szWebCset

Type: CHAR[CCHMAX_CSET_NAME]

Contains the name of the default Web character set that corresponds to CHARSET_WEB.

szFixedFont

Type: CHAR[CCHMAX_FACE_NAME]

Contains the name of the default typeface to use as the fixed width font.

szVariableFont

Type: CHAR[CCHMAX_FACE_NAME]

Contains the name of the default typeface to use as the variable width font.

ietNewsDefault

Type: ENCODINGTYPE

Contains the default ENCODINGTYPE for News messages (IET_QP or IET_BASE64).

ietMailDefault

Type: ENCODINGTYPE

Contains the default ENCODINGTYPE for Mail messages (IET_QP or IET_BASE64).

dwReserved1

Type: DWORD

Do not use.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Product
Outlook Express 6.0
Header
Mimeole.h
IDL
Mimeole.idl