Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DxgkDdiStopCapture
Collapse the table of content
Expand the table of content

DxgkDdiStopCapture routine

The DxgkDdiStopCapture function stops the capture hardware from using the given allocation as a capture buffer.

Syntax


PDXGKDDI_STOPCAPTURE DxgkDdiStopCapture;

NTSTATUS APIENTRY DxgkDdiStopCapture(
  _In_ const HANDLE              hAdapter,
  _In_ const DXGKARG_STOPCAPTURE *pStopCapture
)
{ ... }

Parameters

hAdapter [in]

[in] A handle to a context block that is associated with a display adapter. The display miniport driver previously provided this handle to the Microsoft DirectX graphics kernel subsystem in the MiniportDeviceContext output parameter of the DxgkDdiAddDevice function.

pStopCapture [in]

[in] A pointer to a DXGKARG_STOPCAPTURE structure that contains the handle to the allocation that is used as a capture buffer.

Return value

DxgkDdiStopCapture returns STATUS_SUCCESS, or an appropriate error result if the allocation is not successfully stopped.

Remarks

When a capture buffer is destroyed, the DirectX graphics kernel subsystem calls the DxgkDdiStopCapture function to inform the display miniport driver to stop the capture hardware from using the allocation as the capture buffer. If the capture hardware already stopped using the allocation, the driver should ignore the call.

DxgkDdiStopCapture should be made pageable.

Requirements

Target platform

Desktop

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dkmddi.h (include D3dkmddi.h)

IRQL

PASSIVE_LEVEL

See also

DXGKARG_STOPCAPTURE
DxgkDdiAddDevice

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft