DirectX SDK

DMUS_PORTCAPS

The DMUS_PORTCAPS type returns information about the capabilities of a port. It is passed to the DirectMusicPerformance.GetPortCaps method.

Type DMUS_PORTCAPS
    lClass as Long
    lEffectFlags As Long
    lFlags As Long
    lMaxAudioChannels As Long
    lMaxChannelGroups As Long
    lMaxVoices As Long
    lMemorySize As Long
    lType As Long
End Type

Members

lClass
Class of this port. One of the members of the CONST_DMUS_PC_CLASS enumeration.
lEffectFlags
Flags from the CONST_DMUS_EFFECT_FLAGS enumeration indicating what audio effects are available on the port.
lFlags
Flags describing various capabilities of the port. See CONST_DMUS_PC_FLAGS.
lMaxAudioChannels
Maximum number of audio channels that can be rendered by the port. The value can be –1 if the driver does not support returning this parameter.
lMaxChannelGroups
Maximum number of channel groups supported by this port. A channel group is a set of 16 MIDI channels.
lMaxVoices
Maximum number of voices that can be allocated when this port is opened. The value can be –1 if the driver does not support returning this parameter.
lMemorySize
Amount of memory available to store DLS instruments. If the port is using system memory and the amount is therefore limited only by the available system memory, this field contains DMUS_PC_SYSTEMMEMORY.
lType
Type of this port. See CONST_DMUS_PORT_TYPE.