This PowerBASIC project, is the exact transposition of the C++ 64-bit version (in pure procedural SDK coding style).
It is a mix of 32-bit (FFcapture32.exe), and 64-bit code (FFmpeg.exe console application).
DWM thumbnails are used to display the window to capture (selected from the main ComboBox).
It is also an example showing how to use the latest 32-bit GDImage/WinLIFT DLL(s) with PB.
For further details read
this post While translating the code from 64 to 32-bit, I was able to detect several subtle differences, concerning the font size/rendering and the ComboBox dwStyle behavior.