IsConvertINetStringAvailable
A version of this page is also available for
4/8/2010
This function is used by an application to verify that the specified character set conversion can be performed.
Syntax
HRESULT IsConvertINetStringAvailable(
DWORD dwSrcEncoding,
DWORD dwDstEncoding
);
Parameters
- dwSrcEncoding
DWORD that contains the code page identifier value for the source string.
- dwDstEncoding
DWORD that contains the code page identifier value for the destination string.
Return Value
The following table shows the return values for this function.
Value | 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 that performed by the IMultiLanguage::IsConvertible method. An application should call the IsConvertINetStringAvailable function to check the availability of conversion service before calling the ConvertINetString function.
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 |