Επεξεργασία

Share via


ICreateProcessInputs::AddStartupFlags method (shobjidl_core.h)

Additional flags that will be included in the STARTUPINFO structure passed to CreateProcess.

Syntax

HRESULT AddStartupFlags(
  [in] DWORD dwStartupInfoFlags
);

Parameters

[in] dwStartupInfoFlags

The flags that will be included in the dwFlags member of the STARTUPINFO structure 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

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

STARTUPINFO