DXGKDDI_DESTROYPROTECTEDSESSION callback function (d3dkmddi.h)

Used to destroy a protected session.

Syntax

DXGKDDI_DESTROYPROTECTEDSESSION DxgkddiDestroyprotectedsession;

NTSTATUS DxgkddiDestroyprotectedsession(
  IN_CONST_HANDLE hAdapter,
  IN_CONST_HANDLE hProtectedSession
)
{...}

Parameters

hAdapter

The handle generated for the adapter.

hProtectedSession

The driver generated handle driver returned at DxgkDdiCreateProtectedSession.

Return value

Returns STATUS_SUCCESS when completed successfully.

Requirements

Requirement Value
Target Platform Windows
Header d3dkmddi.h
IRQL requires_(PASSIVE_LEVEL)