PFND3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE callback function (d3dkmthk.h)

Implemented by the client driver to open a protected session from the NT handle.

Syntax

PFND3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE PfnD3dkmtOpenProtectedSessionFromNtHandle;

NTSTATUS PfnD3dkmtOpenProtectedSessionFromNtHandle(
    D3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE *unnamedParam1
)
{...}

Parameters

unnamedParam1

Pointer to a D3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE structure that contains the information needed to open the 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_OPENPROTECTEDSESSIONFROMNTHANDLE and then calling PfnD3dkmtOpenProtectedSessionFromNtHandle.

Requirements

Requirement Value
Header d3dkmthk.h