DirectX SDK |
The DirectMusicPerformance.GetPortName returns the name of a port.
object.GetPortName(index As Long) As String
If the method succeeds, it returns the name of the port — for example, Microsoft Synthesizer.
If the method fails, it raises an error, and Err.Number is set.