Partager via


DetectEncodingInfo (Windows Embedded CE 6.0)

1/6/2010

This structure contains the results of code page detection by the IMultiLanguage2::DetectCodepageInIStream and IMultiLanguage2::DetectInputCodepage methods.

Syntax

typedef struct tagDetectEncodingInfo {
  UINT nLangID;
  UINT nCodePage;
  INT nDocPercent;
  INT nConfidence;
} DetectEncodingInfo, *pDetectEncodingInfo;

Members

  • nLangID
    Microsoft Win32-defined primary language identifier that has been detected for the source string.
  • nCodePage
    Win32-defined code page, which is valid for single-byte and double-byte input only, that has been detected for the source string.
  • nDocPercent
    Percentage of the string that is in the detected language.
  • nConfidence
    Value that indicates the degree to which the detected data is correct. Confidence is based on an internal scoring method. It is a relative cumulative data item rather than an absolute percentage; therefore, values may be greater than 100.

Requirements

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

See Also

Reference

Internet Explorer MLang Structures
IMultiLanguage2::DetectCodepageInIStream
IMultiLanguage2::DetectInputCodepage