IUrlAccessor3::GetCodePage Method

Gets the code page for properties of the URL item.

Syntax

HRESULT GetCodePage(      
    WCHAR wszCodePage[],
    DWORD dwSize,
    DWORD *pdwLength
);

Parameters

  • wszCodePage
    [out]  Receives the code page as a null-terminated Unicode string.
  • dwSize
    [in]  Size of wszCodePage in TCHARs.
  • pdwLength
    [out]  Receives a pointer to the number of TCHARs written to wszCodePage, not including the terminating NULL character.

Return Value

Returns S_OK if successful, or an error value otherwise.