GetPointerDeviceProperties function

Gets device properties that aren't included in the POINTER_DEVICE_INFO structure.


BOOL GetPointerDeviceProperties(
  HANDLE                  device,
  UINT32                  *propertyCount,
  POINTER_DEVICE_PROPERTY *pointerProperties



The pointer device to query properties from.

A call to the GetPointerDevices function returns this handle in the POINTER_DEVICE_INFO structure.


The number of properties.

Returns the count that's written or needed if pointerProperties is NULL.

If this value is less than the number of properties that the pointer device supports and pointerProperties is not NULL, the function returns the actual number of properties in this variable and fails.


The array of properties.

Return Value

TRUE if the function succeeds; otherwise, FALSE. If the function fails, call the GetLastError function for more information.


Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header winuser.h
Library User32.lib
DLL User32.dll

See Also