Device.Caps Property (Microsoft.DirectX.DirectSound)

Retrieves the capabilities of the hardware device.


Visual Basic Public ReadOnly Property Caps As Caps
C# public Caps Caps { get; }
C++ public:
property Caps Caps {
        Caps get();
JScript public function get Caps() : Caps

Property Value

The capabilities of this sound device.

This property is read-only. 


Information retrieved in the Caps structure describes the maximum capabilities of the sound device and those currently available, such as the number of hardware mixing channels and the amount of on-board sound memory. You can use this information to fine-tune performance and optimize resource allocation.

Because of resource-sharing requirements, the maximum capabilities in one area might be available only at the cost of another area.

SoundException Root exception type for all Microsoft DirectSound exceptions. Derives from DirectXException.
ArgumentExceptionLeave Site An invalid parameter was passed to the called method.