Condividi tramite


IDebugProcess2::GetInfo

Gets a description of the process.

HRESULT GetInfo(
   PROCESS_INFO_FIELDS  Fields,
   PROCESS_INFO*        pProcessInfo
);
int GetInfo(
   enum_PROCESS_INFO_FIELDS  Fields,
   PROCESS_INFO[]            pProcessInfo
);

Parameters

  • Fields
    [in] A combination of values from the PROCESS_INFO_FIELDS enumeration that specifies which fields of the pProcessInfo parameter are to be filled in.

  • pProcessInfo
    [out] A PROCESS_INFO structure that is filled in with a description of the process.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See Also

Reference

IDebugProcess2

PROCESS_INFO_FIELDS

PROCESS_INFO