Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This enumeration is used with the code page detection methods IMultiLanguage2::DetectInputCodepageand IMultiLanguage2::DetectCodepageInIStreamto specify the type of the incoming data.

Syntax

typedef enum tagMLDETECTCP {
  MLDETECTCP_NONE = 0,
  MLDETECTCP_7BIT = 1,
  MLDETECTCP_8BIT = 2,
  MLDETECTCP_DBCS = 4,
  MLDETECTCP_HTML = 8
} MLDETECTCP;

Elements

MLDETECTCP_NONE

Value that indicates that the default setting will be used.

MLDETECTCP_7BIT

Value that indicates that the input stream consists of 7-bit data.

MLDETECTCP_8BIT

Value that indicates that the input stream consists of 8-bit data.

MLDETECTCP_DBCS

Value that indicates that the input stream consists of double-byte data.

MLDETECTCP_HTML

Value that indicates that the input stream is an HTML page.

Requirements

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