DirectX SDK |
The DIMAKEUSAGEDWORD macro combines the Usage Page and Usage HID codes for a device object, for passing to the IDirectInputDevice7::GetObjectInfo method.
DWORD DIMAKEUSAGEDWORD( WORD UsagePage, WORD Usage );
This macro is declared in Dinput.h as follows:
#define DIMAKEUSAGEDWORD(UsagePage, Usage) \ ((DWORD)MAKELONG(Usage, UsagePage))
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 98.
Header: Declared in dinput.h.