WINPE 20H1 print screen capture doesn't capture all

asked 2020-08-27T03:19:37.617+00:00
103 1 Reputation point


Can someone help me. I have a capture program it can capture all window(cmd window) in winpe 19H2, but winpe 20H1 fail as picture.

  1. winpe boot into cmd window.
  2. I use below code to capture window desktop all window.
  3. I try to change GDI method program it has same problem.

VB: code
keybd_event(44, 0, 0, IntPtr.Zero)
Dim img As Image = Clipboard.GetImage
PictureBox1.Image = Image.FromFile("test.png")

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
1,887 questions
{count} votes