PFND3DKMT_DESTROYPROTECTEDSESSION callback function (d3dkmthk.h)

Implemented by the client driver to destroy a protected session.

Syntax

PFND3DKMT_DESTROYPROTECTEDSESSION PfnD3dkmtDestroyProtectedSession;

NTSTATUS PfnD3dkmtDestroyProtectedSession(
    D3DKMT_DESTROYPROTECTEDSESSION *unnamedParam1
)
{...}

Parameters

unnamedParam1

Pointer to a D3DKMT_DESTROYPROTECTEDSESSION structure that contains the information needed to destroy a protected session.

Return value

The method returns STATUS_SUCCESS if the operation succeeds. Otherwise, this method might return an appropriate NTSTATUS error code.

Remarks

Register your implementation of this callback function by setting the appropriate member of D3DKMT_DESTROYPROTECTEDSESSION and then calling PfnD3dkmtDestroyProtectedSession.

Requirements

Requirement Value
Header d3dkmthk.h