Platform SDK: DirectX

DirectMusicPerformance.GetPortCaps

The DirectMusicPerformance.GetPortCaps method retrieves information about the capabilities of a port.

object.GetPortCaps(index As Long, caps As DMUS_PORTCAPS)

Parameters

object
Object expression that resolves to a DirectMusicPerformance object.
index
Index of the port, in the range from 1 through DirectMusicPerformance.GetPortCount.
caps
DMUS_PORTCAPS type to receive information about the port.

Error Codes

If the method fails, it raises an error, and Err.Number can be set to DMUS_E_INVALIDARG.