The GET_DIDEVICE_SUBTYPE macro extracts the device subtype code from a device type description code.
BYTE GET_DIDEVICE_SUBTYPE(
DWORD dwDevType
);
The interpretation of the subtype code depends on the primary type.
This macro is defined in Dinput.h as follows:
#define GET_DIDEVICE_SUBTYPE(dwDevType) HIBYTE(dwDevType)
Windows NT: Use version 5.0 or later.
Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Header: Declared in dinput.h.
GET_DIDEVICE_TYPE, DIDEVICEINSTANCE