Hello,
Welcome to Microsoft Q&A!
The CreateForWindow method is a new API available in Windows 10, version 1903 (SDK 18362) or later, you can only use it in the Windows 10 1903 or later, it is not available in 1809.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi guys,
I have a question on how to build a GraphicsCaptureItem from current window's HWND in Win10 1809. We want to use UWP's Windows.Graphics.Capture APIs, introduced in Win10 1803, to capture our own win32 C++ application to a video. The problem is that although we're all on Win10 1809, the API for creating a GraphicsCaptureItem object from a HWND, CreateForWindow to be specific, is added in Win10 1903. So it's a problem for use to get the GraphicsCaptureItem item for our window the capture. Any idea on how I can do this? Appreciated for any help or comment!
Thanks,
Quan
Hello,
Welcome to Microsoft Q&A!
The CreateForWindow method is a new API available in Windows 10, version 1903 (SDK 18362) or later, you can only use it in the Windows 10 1903 or later, it is not available in 1809.
Maybe CreateFromVisual can help here. I will look into it deeper.
Also, any more ideas/comments are welcome!