DirectX SDK |
The DirectMusicPerformance.GetPortCount method returns the number of DirectMusic ports available on the system.
object.GetPortCount() As Long
If the method succeeds, it returns the number of available ports.
If the method fails, it raises an error, and Err.Number is set.