DIMAKEUSAGEDWORD
Microsoft DirectX 9.0 SDK Update (October 2004)

DIMAKEUSAGEDWORD Macro


The DIMAKEUSAGEDWORD macro combines the usage page and usage codes for a device object representing a Human Interface Device (HID), for passing to the IDirectInputDevice8::GetObjectInfo method.

Syntax

#define DIMAKEUSAGEDWORD(UsagePage, Usage) \
        ((DWORD)MAKELONG(Usage, UsagePage))

Parameters

UsagePage
Usage page of the device object.
Usage
Usage of the device object.

Macro Information

Headerdinput.h
Minimum operating systems Windows 98


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