IMLangConvertCharset::Get...     IMLangConvertCharset::Ini...     IMLangConvertCharset Inte...    
Web Workshop (Miscellaneous)

IMLangConvertCharset::GetSourceCodePage Method


Retrieves the code page identifier value that has been designated as the source code page of the Conversion Object.

Syntax

HRESULT GetSourceCodePage(
    UINT  *puiSrcCodePage
);

Parameters

puiSrcCodePage
[out] Address of an unsigned integer that receives the code page identifier value.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

If a client has specified one of the autodetect code pages when creating the Conversion Object or when calling the IMLangConvertCharset::Initialize method, this method returns the code page that has been detected for the incoming string. If the Conversion Object has been created but not initialized, puiSrcCodePage is set to zero.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

See Also

IMLangConvertCharset::GetDestinationCodePage, IMultiLanguage::CreateConvertCharset



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.