HidP_IsSameUsageAndPage (Windows CE 5.0)
This macro determines if two extended usages, represented by USAGE_AND_PAGE structures, are equal.
BOOLEAN HidP_IsSameUsageAndPage( USAGE_AND_PAGE u1, USAGE_AND_PAGE u2);
- u1
[in] Extended usage. - u2
[in] Extended usage.
Returns TRUE if usage u1 is the same as usage u2. Returns FALSE if usage u1 is different than usage u2.
The terms button and usage are used synonymously.
As defined by the USB HID standard, an extended usage is a 32-bit unsigned value. The high-order 16 bits specify the usage page, and lower-order 16 bits specify the usage identifier.
OS Versions: Windows CE .NET 4.2 and later.
Header: Hidpi.h.
Send Feedback on this topic to the authors