IBrowserService::SetTitle method (shdeprecated.h)

Deprecated. Sets the title of a browser window.

Syntax

HRESULT SetTitle(
  [in] IShellView *psv,
  [in] LPCWSTR    pszName
);

Parameters

[in] psv

Type: IShellView*

A pointer to an IShellView that represents the browser's view. The view must be either the browser's current view or the pending view.

[in] pszName

Type: LPCWSTR

A pointer to a buffer containing the browser window's title as a Unicode string.

Return value

Type: HRESULT

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

Requirements

Requirement Value
Target Platform Windows
Header shdeprecated.h