DIDFT_GETINSTANCE
Microsoft DirectX 9.0 SDK Update (October 2004)

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
Microsoft DirectInput data format type. The possible values for this parameter are identical to those found in the dwType member of the DIOBJECTDATAFORMAT structure.

Macro Information

Headerdinput.h
Minimum operating systems Windows 98

See Also

DIDFT_MAKEINSTANCE, DIDFT_GETTYPE


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.