Edit

Share via


IDebugDefaultPort2::GetServer

This method obtains an interface to the server that this port is on.

Syntax

int GetServer(
   out IDebugCoreServer3 ppServer
);

Parameters

ppServer
[out] Returns an object implementing the IDebugCoreServer3 interface.

Return Value

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

Remarks

The IDebugCoreServer3 is implemented by Visual Studio and represents the server that the port is located on.

See also