POINTER_DEVICE_INFO structure (winuser.h)

Contains information about a pointer device. An array of these structures is returned from the GetPointerDevices function. A single structure is returned from a call to the GetPointerDevice function.

Syntax

typedef struct tagPOINTER_DEVICE_INFO {
  DWORD               displayOrientation;
  HANDLE              device;
  POINTER_DEVICE_TYPE pointerDeviceType;
  HMONITOR            monitor;
  ULONG               startingCursorId;
  USHORT              maxActiveContacts;
  WCHAR               productString[POINTER_DEVICE_PRODUCT_STRING_MAX];
} POINTER_DEVICE_INFO;

Members

displayOrientation

One of the values from DISPLAYCONFIG_ROTATION, which identifies the orientation of the input digitizer.

Note  This value is 0 when the source of input is Touch Injection.
 

device

The handle to the pointer device.

pointerDeviceType

The device type.

monitor

The HMONITOR for the display that the device is mapped to. This is not necessarily the monitor that the pointer device is physically connected to.

startingCursorId

The lowest ID that's assigned to the device.

maxActiveContacts

The number of supported simultaneous contacts.

productString[POINTER_DEVICE_PRODUCT_STRING_MAX]

The string that identifies the product.

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