Compartilhar via


PROVIDER_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

Specifies desired properties to be obtained from a program provider.

Syntax

enum enum_PROVIDER_FLAGS {  
   PFLAG_NONE                    = 0x00,  
   PFLAG_REMOTE_PORT             = 0x01,  
   PFLAG_DEBUGGEE                = 0x02,  
   PFLAG_ATTACHED_TO_DEBUGGEE    = 0x04,  
   PFLAG_REASON_WATCH            = 0x08,  
   PFLAG_GET_PROGRAM_NODES       = 0x10,  
   PFLAG_GET_IS_DEBUGGER_PRESENT = 0x20  
};  
typedef DWORD PROVIDER_FLAGS;  
public enum enum_PROVIDER_FLAGS {  
   PFLAG_NONE                    = 0x00,  
   PFLAG_REMOTE_PORT             = 0x01,  
   PFLAG_DEBUGGEE                = 0x02,  
   PFLAG_ATTACHED_TO_DEBUGGEE    = 0x04,  
   PFLAG_REASON_WATCH            = 0x08,  
   PFLAG_GET_PROGRAM_NODES       = 0x10,  
   PFLAG_GET_IS_DEBUGGER_PRESENT = 0x20  
};  

Members

PFLAG_NONE
No flags specified.

PFLAG_REMOTE_PORT
Caller wants a list of programs on a different machine than Visual Studio.

PFLAG_DEBUGGEE
The process is currently being debugged by this instance of Visual Studio.

PFLAG_ATTACH_TODEBUGGEE
Visual Studio is attached to the program being debugged but did not launch it.

PFLAG_REASON_WATCH
Visual Studio is watching for events.

PFLAG_GET_PROGRAM_NODES
Caller wants the ProgramNodes field of the PROVIDER_PROCESS_DATA structure.

PFLAG_GET_IS_DEBUGGER_PRESENT
Caller wants the fIsTheDebuggerPresent field of the PROVIDER_PROCESS_DATA structure.

Remarks

These flags are passed to the following methods:

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Enumerations
PROVIDER_PROCESS_DATA
WatchForProviderEvents
GetProviderProgramNode
GetProviderProcessData