Microsoft DirectX 8.1 (Visual Basic)

DirectInputDevice8.GetCapabilities

Retrieves the capabilities of the device.

object.GetCapabilities(caps As DIDEVCAPS)

Parts

object
Resolves to a DirectInputDevice8 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 is set.