Compartilhar via


IMLangConvertCharset::Initialize (Windows CE 5.0)

Send Feedback

This method initializes the internal state of the Conversion object with the specified parameters.

HRESULTInitialize(UINTuiSrcCodePage,UINTuiDstCodePage,DWORDdwProperty);

Parameters

  • uiSrcCodePage
    [in] Unsigned integer that contains the code page identifier of the characters to be converted.
  • uiDstCodePage
    [in] Unsigned integer that contains the code page identifier of the converted characters.
  • dwProperty
    [in] Specifies one of the MLCONVCHAR-defined values. This flag indicates how to display unconvertible Unicode characters when performing Unicode-to-multibyte conversion.

Return Values

The following table shows the possible return values for this method.

Value Description
S_OK The conversion engine can perform character conversion based on the specified parameters.
S_FALSE The specified set of source and destination code pages is not supported.
E_FAIL The method failed to initialize the conversion engine because of insufficient memory or other problems.

Remarks

A client can reuse a previously created Conversion object as many times as necessary by reinitializing it with this method.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Mlang.h, Mlang.idl.
Link Library: Mlang.dll.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.