The DIDFT_GETINSTANCE macro extracts the object instance number code from a data format type.
BYTE DIDFT_GETINSTANCE(
DWORD dwType
);
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.