Condividi tramite


PROCESS_INFORMATION

Contiene informazioni su un processo.

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;
};

Membri

  • Campi
    Una combinazione di flag PROCESS_INFORMATION_FIELDS dall'enumerazione che specificano i campi vengono compilati.

  • bstrFileName
    Il nome di percorso completo del processo. equivalente a chiamare IDebugProcess2:: GetName il metodo con il parametro GN_FILENAME.

  • bstrBaseName
    Il nome file e l'estensione del processo. equivalente a chiamare il metodo di IDebugProcess2::Getname con il parametro GN_BASENAME.

  • bstrTitle
    Il titolo del processo, se presente. equivalente a chiamare il metodo di IDebugProcess2::Getname con il parametro GN_TITLE.

  • Idprocesso da
    AD_PROCESS_ID la struttura che identifica il processo. equivalente a chiamare IDebugProcess2:: GetPhysicalProcessId il metodo.

  • dwSessionId
    L'identificatore di sessione di debug da questo processo è in esecuzione.

  • bstrAttachedSessionName
    Il nome della sessione associato. equivalente a chiamare IDebugProcess2:: GetAttachedSessionName il metodo.

  • CreationTime
    il tempo che il processo è stato creato.

  • Flag
    Una combinazione di flag PROCESS_INFORMATION_FLAGS dall'enumerazione che specificano le proprietà del processo.

Note

Questa struttura viene passata IDebugProcess2:: GetInfo al metodo in cui viene soddisfatta.

Requisiti

intestazione: msdbg.h

Spazio dei nomi: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

Vedere anche

Riferimenti

Strutture e unioni

PROCESS_INFORMATION_FIELDS

PROCESS_INFORMATION_FLAGS

IDebugProcess2:: GetInfo

IDebugProcess2:: GetName

IDebugProcess2:: GetPhysicalProcessId

IDebugProcess2:: GetAttachedSessionName