GET_DIDEVICE_TYPE
Microsoft DirectX 9.0 SDK Update (October 2004)

GET_DIDEVICE_TYPE Macro


The GET_DIDEVICE_TYPE macro extracts the device primary type code from a device type description code.

Syntax

#define GET_DIDEVICE_TYPE(dwDevType)  LOBYTE(dwDevType)

Parameters

dwDevType
Microsoft DirectInput device type description code. Possible values for this parameter are identical to those found in the dwDevType member of the DIDEVICEINSTANCE structure.

Macro Information

Headerdinput.h
Minimum operating systems Windows 98

See Also

GET_DIDEVICE_SUBTYPE, DIDEVICEINSTANCE


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