Share via


IDebugCoreServer2::GetMachineInfo

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. 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 GetMachineInfo( 
   MACHINE_INFO_FIELDS Fields,
   MACHINE_INFO*       pMachineInfo
);
int GetMachineInfo( 
   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