DXGKCB_HARDWARECONTENTPROTECTIONTEARDOWN callback function (d3dkmddi.h)

DXGKCB_HARDWARECONTENTPROTECTIONTEARDOWN is called when a hardware content protection tear-down event occurs.

Syntax

DXGKCB_HARDWARECONTENTPROTECTIONTEARDOWN DxgkcbHardwarecontentprotectionteardown;

void DxgkcbHardwarecontentprotectionteardown(
  [in] IN_CONST_HANDLE hAdapter,
  [in] UINT Flags
)
{...}

Parameters

[in] hAdapter

A handle to the graphics adapter where the tear-down event is occurring.

[in] Flags

Additional flags defined by the DXGK_HARDWARE_CONTENT_PROTECTION_TEARDOWN_FLAGS enumeration.

Return value

None

Remarks

The kernel-mode display miniport driver should always call DXGKCB_HARDWARECONTENTPROTECTIONTEARDOWN both before and after a hardware content protection tear-down event occurs.

DXGKCB_XXX functions are implemented by Dxgkrnl. To use this callback function, call DxgkCbHardwareContentProtectionTeardown via the DXGKRNL_INTERFACE. The driver can call this callback at either passive level or at dispatch level.

Requirements

Requirement Value
Minimum supported client Windows 10 (WDDM 2.0)
Minimum supported server Windows Server 2016
Target Platform Desktop
Header d3dkmddi.h (include D3dkmddi.h)
IRQL <= DISPATCH_LEVEL

See also

DXGK_HARDWARE_CONTENT_PROTECTION_TEARDOWN_FLAGS

DXGKRNL_INTERFACE