ICreateProcessInputs::SetTitle method (shobjidl_core.h)

Sets the title that will be passed CreateProcess.

Syntax

HRESULT SetTitle(
  [in] LPCWSTR pszTitle
);

Parameters

[in] pszTitle

A null-terminated string specifying the title that will be passed in the lpTitle member of the STARTUPINFO structure passed to CreateProcess. This parameter may not be NULL.

Return value

S_OK if the method succeeds. Otherwise, an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)

See also

CreateProcess

ICreateProcessInputs

ICreatingProcess::OnCreating