GET_DIDEVICE_TYPE Macro

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
DirectInput device type description code. Possible values for this parameter are identical to those found in the dwDevType member of the DIDEVICEINSTANCE structure.

Community Additions

ADD
Show: