다음을 통해 공유


MIMECONTF enumeration

Used as a member of the MIMECPINFO structure to specify the possible uses of a code page.

Syntax

typedef enum tagMIMECONTF { 
  MIMECONTF_MAILNEWS          = 0x00000001,
  MIMECONTF_BROWSER           = 0x00000002,
  MIMECONTF_MINIMAL           = 0x00000004,
  MIMECONTF_IMPORT            = 0x00000008,
  MIMECONTF_SAVABLE_MAILNEWS  = 0x00000100,
  MIMECONTF_SAVABLE_BROWSER   = 0x00000200,
  MIMECONTF_EXPORT            = 0x00000400,
  MIMECONTF_PRIVCONVERTER     = 0x00010000,
  MIMECONTF_VALID             = 0x00020000,
  MIMECONTF_VALID_NLS         = 0x00040000,
  MIMECONTF_MIME_IE4          = 0x10000000,
  MIMECONTF_MIME_LATEST       = 0x20000000,
  MIMECONTF_MIME_REGISTRY     = 0x40000000
} MIMECONTF;

Constants

  • MIMECONTF_MAILNEWS
    Code page is meant to display on mail and news clients.

  • MIMECONTF_BROWSER
    Code page is meant to display on browser clients.

  • MIMECONTF_MINIMAL
    Code page is meant to display in minimal view. This value is generally not used.

  • MIMECONTF_IMPORT
    Value that indicates that all of the import code pages should be enumerated.

  • MIMECONTF_SAVABLE_MAILNEWS
    Code page includes encodings for mail and news clients to save a document in.

  • MIMECONTF_SAVABLE_BROWSER
    Code page includes encodings for browser clients to save a document in.

  • MIMECONTF_EXPORT
    Value that indicates that all of the export code pages should be enumerated.

  • MIMECONTF_PRIVCONVERTER
    Value that indicates the encoding requires (or has) a private conversion engine. A client of IEnumCodePage doesn't use this value.

  • MIMECONTF_VALID
    Value that indicates the corresponding encoding is supported on the system.

  • MIMECONTF_VALID_NLS
    Value that indicates that only the language support file should be validated. Normally, both the language support file and the supporting font are checked.

  • MIMECONTF_MIME_IE4
    Value that indicates the Internet Explorer 4.0 MIME data from MLang's internal data should be used.

  • MIMECONTF_MIME_LATEST
    Value that indicates that the latest MIME data from MLang's internal data should be used.

  • MIMECONTF_MIME_REGISTRY
    Value that indicates that the MIME data stored in the registry should be used.

Remarks

When passed through the grfFlags parameter in the IMultiLanguage::EnumCodePages method, the MIMECONTF constants enable a client to tailor a list of code pages from the MIME database to suit its needs. Furthermore, the bits representing the above flags can be combined, so that 0x00000003 represents MIMECONTF_MAILNEWS | MIMECONTF_BROWSER. If this value is passed through IMultiLanguage::EnumCodePages, any subsequent calls to IEnumCodePage::Next retrieve a list of code pages that have both the MIMECONTF_MAILNEWS and the MIMECONTF_BROWSER flags. 0x0000 can be specified to obtain the maximum number of code pages possible.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mlang.h

See also

Code Page Enumeration