Microsoft DirectX 8.1 (C++) |
The DIMAKEUSAGEDWORD macro combines the usage page and usage codes for a device object representing a Human Interface Device, for passing to the IDirectInputDevice8::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/XP: Requires Windows® 2000.
Windows 98/Me: Requires Windows 98.
Header: Declared in Dinput.h.