* @brief Used to check if the "Enhance Pointer Precision" Windows * option is currently enabled. * @return Status of "Enhanced Pointer Precision" */
| 425 | * @return Status of "Enhanced Pointer Precision" |
| 426 | */ |
| 427 | bool WinExtras::isUsingEnhancedPointerPrecision() |
| 428 | { |
| 429 | bool result = false; |
| 430 | |
| 431 | int mouseInfo[3]; |
| 432 | SystemParametersInfo(SPI_GETMOUSE, 0, &mouseInfo, 0); |
| 433 | |
| 434 | if (mouseInfo[2] > 0) |
| 435 | { |
| 436 | result = true; |
| 437 | } |
| 438 | |
| 439 | return result; |
| 440 | } |
| 441 | |
| 442 | /** |
| 443 | * @brief Get the value of "Enhanced Pointer Precision" when the program |
nothing calls this directly
no outgoing calls
no test coverage detected