GetPointerDevice function (winuser.h)
Gets information about the pointer device.
C++
BOOL GetPointerDevice(
[in] HANDLE device,
[out] POINTER_DEVICE_INFO *pointerDevice
);
[in] device
The handle to the device.
[out] pointerDevice
A POINTER_DEVICE_INFO structure that contains information about the pointer device.
If this function succeeds, it returns TRUE.
Otherwise, it returns FALSE. To retrieve extended error information, call the GetLastError function.
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 |