IMLangConvertCharset::GetSourceCodePage method

Gets the code page identifier value that is designated as the source code page of the Conversion object.

Syntax

HRESULT GetSourceCodePage(
  [out] UINT *puiSrcCodePage
);

Parameters

  • puiSrcCodePage [out]
    A pointer to an unsigned integer that receives the code page identifier value.

Return value

Returns S_OK if successful, or an error value otherwise.

Remarks

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

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mlang.h

IDL

Mlang.idl

DLL

Mlang.dll

See also

IMLangConvertCharset

Reference

GetDestinationCodePage

CreateConvertCharset