Freigeben über


IDebugPort2::GetPortName

Gets the port name.

HRESULT GetPortName( 
   BSTR* pbstrName
);
int GetPortName( 
   out string pbstrName
);

Parameters

  • pbstrName
    [out] Returns the name of the port.

Return Value

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

See Also

Reference

IDebugPort2