共用方式為


PROVIDER_PROCESS_DATA

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. 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

This structure provides information about processes running on a machine.

Syntax

typedef struct tagPROVIDER_PROCESS_DATA {
   PROVIDER_FIELDS    Fields;
   PROGRAM_NODE_ARRAY ProgramNodes;
   BOOL               fIsDebuggerPresent;
} PROVIDER_PROCESS_DATA;
public struct PROVIDER_PROCESS_DATA {
   public uint               Fields;
   public PROGRAM_NODE_ARRAY ProgramNodes;
   public int                fIsDebuggerPresent;
}

Members

Fields
A combination of flags from the PROVIDER_FIELDS enumeration, indicating which fields are filled in.

ProgramNodes
A PROGRAM_NODE_ARRAY structure that contains an array of program nodes.

fIsDebuggerPresent
Nonzero (TRUE) if the Visual Studio debugger is running, zero (FALSE) if it is not.

Remarks

This structure is passed to the GetProviderProcessData method where it is filled in.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also