Table of contents
TOC
Collapse the table of content
Expand the table of content

Adding VRAM Capture Support to Existing AVStream Drivers

Last Updated: 8/26/2016

To add VRAM capture support to an existing pin-centric AVStream driver that uses DMA, follow these steps.

  1. Add VRAM capture support to your AVStrMiniPinProcess callback routine. The CCapturePin::Process method in Capture.cpp of the AVStream Simulated Hardware Sample Driver (AVSHwS) in the MSDN Code Gallery shows one way to do this.

  2. Handle VRAM capture property requests as described earlier in this section.

  3. Add support in either the child capture driver or the parent display miniport driver to map DX kernel handles to VRAM addresses.

  4. Implement StopCapture functionality. When the KMD sends a stop capture notification, the capture driver must stop all capture. To register for notification, the capture driver provides a DxgkDdiStopCapture callback routine. The capture driver should fail any capture requests coming from user mode after receiving this notification.


Send comments about this topic to Microsoft

© 2017 Microsoft