नोट
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप साइन इन करने या निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
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 |