Share via


PROCESS_INFO_FIELDS

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

Specified what kind of information to retrieve for a process.

Syntax

enum enum_PROCESS_INFO_FIELDS {   
   PIF_FILE_NAME             = 0x00000001,  
   PIF_BASE_NAME             = 0x00000002,  
   PIF_TITLE                 = 0x00000004,  
   PIF_PROCESS_ID            = 0x00000008,  
   PIF_SESSION_ID            = 0x00000010,  
   PIF_ATTACHED_SESSION_NAME = 0x00000020,  
   PIF_CREATION_TIME         = 0x00000040,  
   PIF_FLAGS                 = 0x00000080,  
   PIF_ALL                   = 0x000000ff  
};  
typedef DWORD PROCESS_INFO_FIELDS;  
public enum enum_PROCESS_INFO_FIELDS {   
   PIF_FILE_NAME             = 0x00000001,  
   PIF_BASE_NAME             = 0x00000002,  
   PIF_TITLE                 = 0x00000004,  
   PIF_PROCESS_ID            = 0x00000008,  
   PIF_SESSION_ID            = 0x00000010,  
   PIF_ATTACHED_SESSION_NAME = 0x00000020,  
   PIF_CREATION_TIME         = 0x00000040,  
   PIF_FLAGS                 = 0x00000080,  
   PIF_ALL                   = 0x000000ff  
};  

Members

PIF_FILE_NAME
Initialize/use the bstrFileName field of the PROCESS_INFO structure.

PIF_BASE_NAME
Initialize/use the bstrBaseName field of the PROCESS_INFO structure.

PIF_TITLE
Initialize/use the bstrTitle field of the PROCESS_INFO structure.

PIF_PROCESS_ID
Initialize/use the ProcessId field of the PROCESS_INFO structure.

PIF_SESSION_ID
Initialize/use the dwSessionId field of the PROCESS_INFO structure.

PIF_ATTACHED_SESSION_NAME
Initialize/use the bstrAttachedSessionName field of the PROCESS_INFO structure.

PIF_CREATION_TIME
Initialize/use the CreationTime field of the PROCESS_INFO structure.

PIF_FLAGS
Initialize/use the Flags field of the PROCESS_INFO structure.

PIF_ALL
Fills out all fields.

Remarks

Passed to the GetInfo method to indicate which fields of the PROCESS_INFO structure are to be initialized.

Also used in Fields field of the PROCESS_INFO structure to indicate which fields are used and valid.

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