DIDFT_GETINSTANCE

The DIDFT_GETINSTANCE macro extracts the object instance number code from a data format type.

#define DIDFT_GETINSTANCE(n) LOWORD((n) >> 8)

Parameters

n
Type is DWORD. DirectInput data format type. The possible values for this parameter are identical to those found in the dwType member of the DIOBJECTDATAFORMAT structure.

See Also

DIDFT_MAKEINSTANCE, DIDFT_GetType