GetPointerDeviceProperties function (winuser.h)

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

Syntax

BOOL GetPointerDeviceProperties(
  [in]            HANDLE                  device,
  [in, out]       UINT32                  *propertyCount,
  [out, optional] POINTER_DEVICE_PROPERTY *pointerProperties
);

Parameters

[in] device

The pointer device to query properties from.

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

[in, out] propertyCount

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.

[out, optional] pointerProperties

The array of properties.

Return value

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

Requirements

Requirement Value
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

Functions