IMultiLanguage::IsConvertible method

Checks if the charset conversion from the source code page to the destination code page can be performed.

Syntax

HRESULT IsConvertible(
  [in] DWORD dwSrcEncoding,
  [in] DWORD dwDstEncoding
);

Parameters

  • dwSrcEncoding [in]
    The code page identifier value for the source encoding.

  • dwDstEncoding [in]
    The code page identifier value for the destination encoding.

Return value

Returns one of the following values.

Return code Description
S_OK

The conversion can be performed.

S_FALSE

The specified conversion is not supported on the system.

E_INVALIDARG

One or more of the arguments is invalid.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mlang.h

IDL

Mlang.idl

DLL

Mlang.dll

See also

IMultiLanguage

IMultiLanguage::ConvertString