ICreateProcessInputs::AddCreateFlags method

Set additional flags that will be included in the call to CreateProcess.

Syntax


HRESULT AddCreateFlags(
  [in] DWORD dwCreationFlags
);

Parameters

dwCreationFlags [in]

The flags that will be included in the dwCreationFlags parameter passed to CreateProcess.

Return value

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

Remarks

Any creation flags that were previously set will remain set. This method does not clear any creation flags.

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
SetCreateFlags
STARTUPINFO

 

 

Show: