DIDFT_GETINSTANCE Macro

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

Syntax

#define 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.

See Also

DIDFT_MAKEINSTANCE
DIDFT_GetType