Bewerken

Delen via


PFND3DKMT_CREATEPROTECTEDSESSION callback function (d3dkmthk.h)

Implemented by the client driver to create a protected session.

Syntax

PFND3DKMT_CREATEPROTECTEDSESSION PfnD3dkmtCreateProtectedSession;

NTSTATUS PfnD3dkmtCreateProtectedSession(
    D3DKMT_CREATEPROTECTEDSESSION *unnamedParam1
)
{...}

Parameters

unnamedParam1

Pointer to a D3DKMT_CREATEPROTECTEDSESSION structure that contains the information needed to create a protected session.

Return value

Return STATUS_SUCCESS if the operation succeeds. Otherwise, return an appropriate NTSTATUS Values error code.

Remarks

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

Requirements

Requirement Value
Header d3dkmthk.h