ICreateProcessInputs::SetTitle method

Sets the title that will be passed CreateProcess.

Syntax


HRESULT SetTitle(
  [in] PCWSTR pszTitle
);

Parameters

pszTitle [in]

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

See also

CreateProcess
ICreateProcessInputs
ICreatingProcess::OnCreating

 

 

Show: