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 method checks if the charset conversion from the source code page to the destination code page can be performed.

Syntax

HRESULT IsConvertible( 
  DWORD 
dwSrcEncoding,
  DWORD 
dwDstEncoding
);

Parameters

dwSrcEncoding

[in] Specifies the code page identifier value for the source encoding.

dwDstEncoding

[in] Specifies the code page identifier value for the destination encoding.

Return Value

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

Value 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 are invalid.

Requirements

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