IMultiLanguage3::DetectOutboundCodePage (Windows Embedded CE 6.0)
1/6/2010
This method detects the encoding of outbound Unicode text.
Syntax
HRESULT DetectOutboundCodePage(
DWORD dwFlags,
LPCWSTR lpWideCharStr,
UINT cchWideChar,
UINT* puiPreferredCodePages,
UINT nPreferredCodePages,
UINT* puiDetectedCodePages,
UINT* pnDetectedCodePages,
WCHAR* lpSpecialChar
);
Parameters
- dwFlags
[in] DWORD that contains one of the flags from MLCP.
- lpWideCharStr
[in] Long pointer to the Unicode source string.
- cchWideChar
[in] Integer that contains the number of characters in the Unicode source string.
- puiPreferredCodePages
[in] Optional. Array of preferred code pages. If this array is NULL, MLang uses its internal code page stack to determine priorities.
- nPreferredCodePages
[in] Integer that contains the number of preferred code pages.
- puiDetectedCodePages
[in] Array of detected code pages.
- pnDetectedCodePages
[in, out] Pointer to an integer that receives the maximum number of code pages to supply and returns the number of Unicode pages that were detected.
- lpSpecialChar
[in] Long pointer to an optional null-terminated Unicode string for client-specified special characters.
Return Value
Returns S_OK if successful or an error value otherwise.
Requirements
Header | mlang.h, mlang.idl |
Library | mlang.dll |
Windows Embedded CE | Windows CE .NET 4.0 and later |