Fixed refcount expected value.
Implemented DX11 capture.