Platform SDK: DirectX

DirectInputDevice.GetCapabilities

The DirectInputDevice.GetCapabilities method obtains the capabilities of the DirectInputDevice object.

object.GetCapabilities(caps As DIDEVCAPS)

Parameters

object
Object expression that resolves to a DirectInputDevice object.
caps
A DIDEVCAPS type to be filled with the device capabilities.

Error Codes

If the method fails, an error is raised and Err.Number will be set.