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 code | Description |
---|---|
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 |