Retrieves information about a connected computer.
[Visual Basic] Public Function GetMachineInfo ( ByVal nMachineId As Integer ) As ISystemDebugMachine
[C#] public ISystemDebugMachine GetMachineInfo( int nMachineId );
[C++] HRESULT GetMachineInfo ( int nMachineId, ISystemDebugMachine **ppIMachine );
- [in] The computer identifier returned by a previous call to the ConnectToMachine method.
- [out, retval] An ISystemDebugMachine object. You can use the methods supported by this object to retrieve information such as the computer name, its operating system, and its other capabilities.
S_OK if the information was retrieved successfully.
E_INVALIDARG if the identifier specified in the nMachineId parameter is invalid or if the method was unable to retrieve information about the computer.
If the GetMachineInfo method succeeds, you can use the methods supported by the returned ISystemDebugMachine object to retrieve information such as the computer name, operating system, and its capabilities.