Platform SDK: DirectX

DIDFT_GETINSTANCE

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

DIDFT_GETINSTANCE(n) LOWORD((n) >> 8)

Parameters

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

Requirements

  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.

See Also

DIDFT_MAKEINSTANCE, DIDFT_GETTYPE