WinUI3 D3D11 graphics capture. Calling Direct3D11CaptureFramePool.CreateFreeThreaded throws 0x80004002

John Carroll 0 Reputation points
2024-01-26T19:01:41.9666667+00:00

In a WinUI3 app, when calling Direct3D11CaptureFramePool.CreateFreeThreaded with a valid device throws 0x80004002 - Specified cast is not valid. Is this another unsupported function? Why would this fail?

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,567 questions
{count} votes

Your answer

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