Share via

Why Is "IsCursorCaptureEnabled" missing in C++/WinRT API.

ffaith 116 Reputation points
2021-05-29T02:05:01.323+00:00

Hi there,

Recently, i work on a project using Windows.Graphics.Capture, which is exported through C++/WinRT.

In previous version, the cursor composition could be switched off by using IsCursorCaptureEnabled.

However, i notice that IsCursorCaptureEnabled is missing in recent version. Since i don’t want cursor

gets composited and i found other developers also has this requirement. So, i wanna know why

IsCursorCaptureEnabled is deprecated. Please help to provide some clue! Thanks.

Freyu

Developer technologies | Universal Windows Platform (UWP)
0 comments No comments

Answer accepted by question author

ffaith 116 Reputation points
2021-05-29T04:05:24.82+00:00

Just found that i got this wrong.

My experimental OS is not the latest version and the version of GraphicsCapture is 10.0.18362.1110.

And IsCursorCaptureEnabled is supported in 10.0.19041.906.

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.