GetPointerDevice function (winuser.h)
Gets information about the pointer device.
Syntax
BOOL GetPointerDevice(
[in] HANDLE device,
[out] POINTER_DEVICE_INFO *pointerDevice
);
Parameters
[in] device
The handle to the device.
[out] 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
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for