Have not seen many implementations of Directx 11 for Kotlin Native so I wrote an implementation of Windows Desktop Duplication API for the mingw64 target over the weekend.
https://github.com/Syrou/DesktopDuplikation this library allows you to take a screenshot/record your screen from Windows 7 up to Windows 11. Currently showcases how to make screenshots, but also gives you access
to the frame data to expand on.