?/TD>
Microsoft DirectX 9.0

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


© 2002 Microsoft Corporation. All rights reserved.