Microsoft DirectX 8.0 (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: Requires Windows® 2000.
Windows 95/98: Requires Windows 98.
Header: Declared in Dinput.h.