ProcessStartupInfoFlags Enumeration

Flags for Flags member.

Definition

Namespace: DevCase.Win32.Enums
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[FlagsAttribute]
public enum ProcessStartupInfoFlags

Remarks

Members

UseShowWindow 1 The ShowWindow member contain additional information.
UseSize 2 The SizeX and SizeY members contain additional information.
usePosition 4 The PositionX and PositionY members contain additional information.
UseCountChars 8 The CountCharsX and CountCharsY members contain additional information.
UseFillAttribute 16 The FillAttribute member contain additional information.
RunFullscreen 32 Indicates that the process should be run in full-screen mode, rather than in windowed mode.

This flag is only valid for console applications running on an x86 computer.

ForceOnFeedback 64 Indicates that the cursor is in feedback mode for two seconds after CreateProcess is called. The Working in Background cursor is displayed (see the Pointers tab in the Mouse control panel utility).

If during those two seconds the process makes the first GUI call, the system gives five more seconds to the process. If during those five seconds the process shows a window, the system gives five more seconds to the process to finish drawing the window.

The system turns the feedback cursor off after the first call to GetMessage, regardless of whether the process is drawing.

ForceOffFeedback 128 Indicates that the feedback cursor is forced off while the process is starting. The Normal Select cursor is displayed.
UseStdHandles 256 The StdInput, StdOutput and StdError members contain additional information.

If this flag is specified when calling one of the process creation functions, the handles must be inheritable and the function's bInheritHandles parameter must be set to .

If this flag is specified when calling the GetStartupInfo function, these members are either the handle value specified during process creation or Zero (INVALID_HANDLE_VALUE).

Handles must be closed with CloseHandle when they are no longer needed.

This flag cannot be used with UseHotkey.

UseHotkey 512 The StdInput member contain additional information.

This flag cannot be used with UseStdHandles.

TitleIsLinkName 2,048 The Title member contains the path of the shortcut file (.lnk) that the user invoked to start this process.

This is typically set by the shell when a .lnk file pointing to the launched application is invoked.

Most applications will not need to set this value.

This flag must be combined with TitleIsAppId.

TitleIsAppId 4,096 The lpTitle member contains an AppUserModelID. This identifier controls how the taskbar and Start menu present the application, and enables it to be associated with the correct shortcuts and Jump Lists.

Generally, applications will use the SetCurrentProcessExplicitAppUserModelID and GetCurrentProcessExplicitAppUserModelID functions instead of setting this flag.

If PreventPinning is used, application windows cannot be pinned on the taskbar. The use of any AppUserModelID-related window properties by the application overrides this setting for that window only.

This flag must be combined with TitleIsLinkName.

PreventPinning 8,192 Indicates that any windows created by the process cannot be pinned on the taskbar

This flag must be combined with TitleIsAppId.

UntrustedSource 32,768 The command line came from an untrusted source.

See Also