The GET_DIDEVICE_TYPE macro extracts the device primary type code from a device type description code.
BYTE GET_DIDEVICE_TYPE(
DWORD 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.
Remarks
This macro is defined in Dinput.h as follows:
#define GET_DIDEVICE_TYPE(dwDevType) LOBYTE(dwDevType)
QuickInfo
Windows NT: Use version 5.0 or later.
Windows: Use Windows 95 OSR2 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Header: Declared in dinput.h.
See Also