共用方式為


IDebugCoreServer2::GetMachineInfo

Retrieves a description of the machine the core server is running on.

HRESULT GetInfo( 
   MACHINE_INFO_FIELDS Fields,
   MACHINE_INFO*       pMachineInfo
);
int GetInfo( 
   enum_ MACHINE_INFO_FIELDS  Fields,
   MACHINE_INFO[]             pMachineInfo
);

Parameters

  • Fields
    [in] A combination of flags from the MACHINE_INFO_FIELDS enumeration that specify which fields of pMachineInfo are to be filled out.

  • pMachineInfo
    [in, out] A MACHINE_INFO structure that is filled in with a description of the machine.

Return Value

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

See Also

Reference

IDebugCoreServer2

MACHINE_INFO_FIELDS

MACHINE_INFO