POINTER_DEVICE_PROPERTY structure (winuser.h)

Contains pointer-based device properties (Human Interface Device (HID) global items that correspond to HID usages).

Syntax

typedef struct tagPOINTER_DEVICE_PROPERTY {
  INT32  logicalMin;
  INT32  logicalMax;
  INT32  physicalMin;
  INT32  physicalMax;
  UINT32 unit;
  UINT32 unitExponent;
  USHORT usagePageId;
  USHORT usageId;
} POINTER_DEVICE_PROPERTY;

Members

logicalMin

The minimum value that the device can report for this property.

logicalMax

The maximum value that the device can report for this property.

physicalMin

The physical minimum in Himetric.

physicalMax

The physical maximum in Himetric.

unit

The unit.

unitExponent

The exponent.

usagePageId

The usage page for the property, as documented in the HID specification.

usageId

The usage of the property, as documented in the HID specification.

Remarks

Developers can use this function to determine the properties that a device supports beyond the standard ones that are delivered through Pointer Input Messages and Notifications. The properties map directly to HID usages.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header winuser.h

See also

Structures