Edit

Share via


PROCESS_INFO

Contains information about a process.

Syntax

public struct PROCESS_INFO { 
   public uint          Fields;
   public string        bstrFileName;
   public string        bstrBaseName;
   public string        bstrTitle;
   public AD_PROCESS_ID ProcessId;
   public uint          dwSessionId;
   public string        bstrAttachedSessionName;
   public FILETIME      CreationTime;
   public uint          Flags;
};

Members

Fields
A combination of flags from the PROCESS_INFO_FIELDS enumeration that specify which fields are filled out.

bstrFileName
The full path name of the process. Equivalent to calling the GetName method with the parameter GN_FILENAME.

bstrBaseName
The file name and extension of the process. Equivalent to calling the IDebugProcess2::Getname method with the parameter GN_BASENAME.

bstrTitle
The title of the process, if one exists. Equivalent to calling the IDebugProcess2::Getname method with the parameter GN_TITLE.

ProcessId
The AD_PROCESS_ID structure that identifies the process. Equivalent to calling the GetPhysicalProcessId method.

dwSessionId
The identifier of the debug session that this process is running in.

bstrAttachedSessionName
The attached session name. Equivalent to calling the GetAttachedSessionName method.

CreationTime
The time the process was created.

Flags
A combination of flags from the PROCESS_INFO_FLAGS enumeration that specify properties of the process.

Remarks

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

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also