DXGKCB_SETPROTECTEDSESSIONSTATUS callback function (d3dkmddi.h)
A kernel-mode display miniport driver calls DXGKCB_SETPROTECTEDSESSIONSTATUS to set the status of a protected session.
Syntax
DXGKCB_SETPROTECTEDSESSIONSTATUS DxgkcbSetprotectedsessionstatus;
NTSTATUS DxgkcbSetprotectedsessionstatus(
[in] IN_CONST_PDXGKARGCB_PROTECTEDSESSIONSTATUS pProtectedSessionStatus
)
{...}
Parameters
[in] pProtectedSessionStatus
Pointer to a DXGKARGCB_PROTECTEDSESSIONSTATUS structure that identifies the protected session and its status.
Return value
DXGKCB_SETPROTECTEDSESSIONSTATUS returns STATUS_SUCCESS if it succeeds. Otherwise, it returns one of the error codes defined in Ntstatus.h.
Remarks
DXGKCB_XXX functions are implemented by Dxgkrnl. To use this callback function, set the members of DXGKARGCB_PROTECTEDSESSIONSTATUS and call DxgkCbSetProtectedSessionStatus via the DXGKRNL_INTERFACE.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1709 (WDDM 2.3) |
Header | d3dkmddi.h |
IRQL | PASSIVE_LEVEL |