This application demonstrates how to use Windows Desktop Duplication API (a.k.a. DDA or IDXGIOutputDuplication) to capture desktop images using a D3D11 context, and using NVENC D3D11 interop to efficiently compress the captured images for offline recording or live streaming.