GET_DIDEVICE_SUBTYPE Macro

The GET_DIDEVICE_SUBTYPE macro extracts the device subtype code from a device type description code.


#define GET_DIDEVICE_SUBTYPE(dwDevType)  HIBYTE(dwDevType)

Parameters

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

The interpretation of the subtype code depends on the primary type.

Community Additions

ADD
Show: