Microsoft HomeproductssearchsupportshopWrite Us   Microsoft Home
Magazine
 |  Community
 |  Workshop
 |  Tools & Samples
 |  Training
 |  Site Info

Workshop

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

Structure Information

Windows NT Use version 4.0 and later.
Windows Use Windows 95 and later.
Header Declared in Mlang.h.
Minimum availability Internet Explorer 4.0

See Also

IEnumCodePage, IMultiLanguage::EnumCodePages, IMultiLanguage::GetCodePageInfo, MLang Structures


Does this content meet your programming needs? Write us!

Back to topBack to top

© 1998 Microsoft Corporation. All rights reserved. Terms of use.

 

Magazine Home
Ask Jane
DHTML Dude
Extreme XML
For Starters
More or Hess
Servin' It Up
Site Lights
Web Men Talking
Member Community Home
Benefits: Freebies & Discounts
Benefits: Promote Your Site
Benefits: Connect with Your Peers
Benefits at a Glance
Online Special-Interest Groups
Your Membership
SBN Stores
Join Now
Workshop Home
Essentials
Content & Component Delivery
Component Development
Data Access & Databases
Design
DHTML, HTML & CSS
Extensible Markup Language (XML)
Languages & Development Tools
Messaging & Collaboration
Networking, Protocols & Data Formats
Reusing Browser Technology
Security & Cryptography
Server Technologies
Streaming & Interactive Media
Web Content Management
Workshop Index
Tools & Samples Home
Tools
Samples, Headers, Libs
Images
Sounds
Style Sheets
Web Fonts
Training Home
SBN Live Seminars
SBN Live Chats
Courses
Peer Support
CD-ROM Training
Books & Training Kits
Certification
SBN Home
New to SBN?
What's New on SBN
Site Map
Site Search
Glossary
Write Us
About This Site