Share via


PROCESS_INFO_FLAGS

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Describes or specifies properties of a process.

Syntax

enum enum_PROCESS_INFO_FLAGS {   
   PIFLAG_SYSTEM_PROCESS    = 0x00000001,  
   PIFLAG_DEBUGGER_ATTACHED = 0x00000002,  
   PIFLAG_PROCESS_STOPPED   = 0x00000004,  
   PIFLAG_PROCESS_RUNNING   = 0x00000008,  
};  
typedef DWORD PROCESS_INFO_FLAGS;  
enum enum_PROCESS_INFO_FLAGS {   
   PIFLAG_SYSTEM_PROCESS    = 0x00000001,  
   PIFLAG_DEBUGGER_ATTACHED = 0x00000002,  
   PIFLAG_PROCESS_STOPPED   = 0x00000004,  
   PIFLAG_PROCESS_RUNNING   = 0x00000008,  
};  

Members

PIFLAG_SYSTEM_PROCESS
Indicates that the process is a system process.

PIFLAG_DEBUGGER_ATTACHED
Indicates that the process is being debugged by a debugger. It may be a Visual Studio debugger, or it may be some other debugger, for example, WinDbg.

PIFLAG_PROCESS_STOPPED
Indicates the process is stopped. Valid only if PIFLAG_DEBUGGER_ATTACHED is also specified. Available in Visual Studio 2005 and later.

PIFLAG_PROCESS_RUNNING
Indicates the process is running. Valid only if PIFLAG_DEBUGGER_ATTACHED is also specified. Available in Visual Studio 2005 and later.

Remarks

Used for the Flags member of the PROCESS_INFO structure.

These flags may be combined with a bitwise OR.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Enumerations
PROCESS_INFO