| 388 | } |
| 389 | |
| 390 | MaaBool MaaControllerGetResolution(const MaaController* ctrl, int32_t* width, int32_t* height) |
| 391 | { |
| 392 | if (!ctrl || !width || !height) { |
| 393 | LogError << "handle or output params are null"; |
| 394 | return false; |
| 395 | } |
| 396 | |
| 397 | return ctrl->get_resolution(*width, *height); |
| 398 | } |
| 399 | |
| 400 | MaaBool MaaControllerGetInfo(const MaaController* ctrl, MaaStringBuffer* buffer) |
| 401 | { |
no test coverage detected