GET_DIDEVICE_TYPE

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

#define GET_DIDEVICE_TYPE(dwDevType) LOBYTE(dwDevType)

Parameters

dwDevType
Type is DWORD. 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