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?