GetPointerDevice function

Gets information about the pointer device.

Syntax

BOOL GetPointerDevice(
  HANDLE              device,
  POINTER_DEVICE_INFO *pointerDevice
);

Parameters

device

The handle to the device.

pointerDevice

A POINTER_DEVICE_INFO structure that contains information about the pointer device.

Return Value

If this function succeeds, it returns TRUE.

Otherwise, it returns FALSE. To retrieve extended error information, call the GetLastError function.

Requirements

   
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