Win32CaptureSample icon indicating copy to clipboard operation
Win32CaptureSample copied to clipboard

A simple sample using the Windows.Graphics.Capture APIs in a Win32 application.

Results 29 Win32CaptureSample issues
Sort by recently updated
recently updated
newest added

First of all, thank you for providing the sample code and discussing the details with us. I learned a lot from them. After carefully reading your sample code and API...

In a loop of capturing all open application windows' images, GraphicsCaptureSession.Close() occasionally hangs. Yesterday I was able to duplicate this issue and collected all dump files. Below is the code...

Hi Team, In last two/three years, my desktop application has been using CreateCaptureSession(item) for capturing other application window's image. It has been working until Windows 11 OS build 22621.2428 has...

api-bug

Lets say that I have a person sitting in front of the monitor and at the same time I use the desktop capture api to store the frames in a...

Been a while, but it's me again. Hopefully I didn't miss anything obvious this time. The scenario is the following: A user of my application is using a standard user...

api-bug

how to recurrent: 1. select monitor to share and cancel ”Border required“ 2. change desktop resolution

api-bug

i have a semitransparent HWND . when i use `SetWindowDisplayAffinity ` method to exlude it from screen capture , but the result is the semitransparent HWND remains on the captured...

This is not really related to this project per se, but I don't really know where to fill this up; I have learned about this Windows Graphics Capture API only...

question

System Info: Windows 10 Pro x64 10.0.19041 running on Lenovo L540 Visusal Studio 2019 V16.8.2 Windows SDK: 10.0.19041.0 Platform Toolset: VS 2019 (v142) Microsoft.Windows.CppWinRT nuget package v2.0.201217.4 Laptop has 2...

api-bug

I am running the code (Debug X64 both with VS2019 and VS2022), and it crashes when I click on the Take Snapshot button. The crash happens in: auto file =...