There is the MS sample
SimpleRecorder
or
BasicCaptureSample
or in C++
ScreenCaptureforHWND/SimpleCapture.cpp
Win32CaptureSample/SimpleCapture.cpp
winrt-capture.cpp
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
virtual HRESULT STDMETHODCALLTYPE add_FrameArrived(
__FITypedEventHandler_2_Windows__CGraphics__CCapture__CDirect3D11CaptureFramePool_IInspectable* handler,
EventRegistrationToken* token
) = 0;
How to use it?
can you please provide me with sample code?
There is the MS sample
SimpleRecorder
or
BasicCaptureSample
or in C++
ScreenCaptureforHWND/SimpleCapture.cpp
Win32CaptureSample/SimpleCapture.cpp
winrt-capture.cpp