__DSI_FLAGS Enumeration

Represents flags indicating what startup information to use in creating a window.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration __DSI_FLAGS
[FlagsAttribute]
public enum __DSI_FLAGS
[FlagsAttribute]
public enum class __DSI_FLAGS
[<FlagsAttribute>]
type __DSI_FLAGS
public enum __DSI_FLAGS

Members

Member name Description
DSI_USESHOWWINDOW The wShowWindow member contains additional information.
DSI_USESIZE The dwXSize and dwYSize members contain additional information.
DSI_USEPOSITION The dwX and dwY members contain additional information.
DSI_USECOUNTCHARS The dwXCountChars and dwYCountChars members contain additional information.
DSI_USEFILLATTRIBUTE The dwFillAttribute member contains additional information.
DSI_RUNFULLSCREEN 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.

DSI_FORCEONFEEDBACK 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.

DSI_FORCEOFFFEEDBACK Indicates that the feedback cursor is forced off while the process is starting. The Normal Select cursor is displayed.
DSI_USESTDHANDLES The hStdInput, hStdOutput, and hStdError 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 TRUE. For more information, see Handle Inheritance.

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

DSI_USECREATIONFLAGS the dwCreationFlags field of VsDebugStartupInfo is valid and should be passed to CreateProcess
DSI_INHERITHANDLES Call CreateProcess with bInheritHandles = TRUE

Remarks

These flags match the flags used in the Windows STARTUPINFO structure.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace