Export (0) Print
Expand All

IUrlAccessor2::GetCodePage method

Gets the code page for properties of the URL item.

Syntax


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

Parameters

wszCodePage [out]

Type: WCHAR[]

Receives the code page as a null-terminated Unicode string.

dwSize [in]

Type: DWORD

Size of wszCodePage in TCHARs.

pdwLength [out]

Type: DWORD*

Receives a pointer to the number of TCHARs written to wszCodePage, not including the terminating NULL character.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Redistributable

Windows Desktop Search (WDS) 3.0

Header

Searchapi.h

IDL

Urlaccsdk.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft