Share via


IDebugCoreServer2::GetPortSupplier

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 specific port supplier.

Syntax

HRESULT GetPortSupplier(   
   REFGUID               guidPortSupplier,  
   IDebugPortSupplier2** ppPortSupplier  
);  
int GetPortSupplier(   
   ref Guid                guidPortSupplier,  
   out IDebugPortSupplier2 ppPortSupplier  
);  

Parameters

guidPortSupplier
[in] GUID of the port supplier to be retrieved.

ppPortSupplier
[out] Returns an IDebugPortSupplier2 object representing the desired port supplier.

Return Value

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

See Also

IDebugCoreServer2
IDebugPortSupplier2