IUrlAccessor2::GetCodePage Method
Gets the code page for properties for the item URL.
Syntax
HRESULT GetCodePage( WCHAR wszCodePage[], DWORD dwSize, DWORD *pdwLength );
Parameters
- wszCodePage
[out] Returns the code page as a null-terminated, Unicode string.- dwSize
[in] Size of wszCodePage in TCHARs.- pdwLength
[out] Returns a pointer to the number of TCHARs written to wszCodePage not including NULL.
Return Value
Returns S_OK if successful, or an error value otherwise.