Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the x and y range for the pointer device (in himetric) and the x and y range (current resolution) for the display that the pointer device is mapped to.
Syntax
BOOL GetPointerDeviceRects(
[in] HANDLE device,
[out] RECT *pointerDeviceRect,
[out] RECT *displayRect
);
Parameters
[in] device
The handle to the pointer device.
[out] pointerDeviceRect
The structure for retrieving the device's physical range data.
[out] displayRect
The structure for retrieving the display resolution.
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 |