GET_DIDEVICE_TYPE Macro

The GET_DIDEVICE_TYPE macro extracts the device primary type code from a device type description code.

Syntax

#define GET_DIDEVICE_TYPE(dwDevType)  LOBYTE(dwDevType)

Parameters

  • dwDevType
    DirectInput device type description code. Possible values for this parameter are identical to those found in the dwDevType member of the DIDEVICEINSTANCE structure.

See Also

GET_DIDEVICE_SUBTYPE
DIDEVICEINSTANCE