IAttachmentExecute::SetClientTitle method

Specifies and stores the title of the prompt window.

Syntax


HRESULT SetClientTitle(
  [in]  LPCWSTR pszTitle
);

Parameters

pszTitle [in]

Type: LPCWSTR

A pointer to a string that contains the title text.

Return value

Type: HRESULT

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

Remarks

If IAttachmentExecute::SetClientTitle is not called, a default title of File Download is used in the prompt's title bar.

Requirements

Minimum supported client

Windows XP with SP2 [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shdocvw.dll (version 6.0 or later)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft