Share via


IDebugCoreServer2::GetMachineInfo

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

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

Syntax

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

IDebugCoreServer2
MACHINE_INFO_FIELDS
MACHINE_INFO