The GET_DIDEVICE_SUBTYPE macro extracts the device subtype code from a device type description code.
GET_DIDEVICE_SUBTYPE(dwDevType) HIBYTE(dwDevType)
The interpretation of the subtype code depends on the primary type.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in dinput.h.