Share via


PROCESS_INFO

Contains information about a process.

typedef struct tagPROCESS_INFO { 
   PROCESS_INFO_FIELDS Fields;
   BSTR                bstrFileName;
   BSTR                bstrBaseName;
   BSTR                bstrTitle;
   AD_PROCESS_ID       ProcessId;
   DWORD               dwSessionId;
   BSTR                bstrAttachedSessionName;
   FILETIME            CreationTime;
   PROCESS_INFO_FLAGS  Flags;
} PROCESS_INFO;
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 IDebugProcess2::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 IDebugProcess2::GetPhysicalProcessId method.

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

  • bstrAttachedSessionName
    The attached session name. Equivalent to calling the IDebugProcess2::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 IDebugProcess2::GetInfo method where it is filled in.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

Structures and Unions

PROCESS_INFO_FIELDS

PROCESS_INFO_FLAGS

IDebugProcess2::GetInfo

IDebugProcess2::GetName

IDebugProcess2::GetPhysicalProcessId

IDebugProcess2::GetAttachedSessionName