Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IsConvertINetStringAvailable function

[IsConvertINetStringAvailable is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. ]

Verifies that the specified character set conversion can be performed.

Syntax


HRESULT IsConvertINetStringAvailable(
   DWORD dwSrcEncoding,
   DWORD dwDstEncoding
);

Parameters

dwSrcEncoding

A DWORD that contains the code page identifier value for the source string.

dwDstEncoding

A DWORD that contains the code page identifier value for the destination string.

Return value

The function returns one of the following values.

Return codeDescription
S_OK

The function can perform the conversion.

S_FALSE

The conversion is not supported on the system.

E_INVALIDARG

One or more arguments are invalid.

 

Remarks

This function performs a check similar to the check that is performed by IMultiLanguage::IsConvertible. An application can call the IsConvertINetStringAvailable function to check the availability of the conversion service before calling ConvertINetString.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mlang.h

DLL

Mlang.dll

 

 

Show:
© 2015 Microsoft