PFND3D12DDI_CREATE_PROTECTED_SESSION_CB_0030 callback function (d3d12umddi.h)

Callback to create a graphics kernel protected resource session.

Syntax

PFND3D12DDI_CREATE_PROTECTED_SESSION_CB_0030 Pfnd3d12ddiCreateProtectedSessionCb0030;

HRESULT Pfnd3d12ddiCreateProtectedSessionCb0030(
  D3D12DDI_HRTDEVICE hRTDevice,
  D3D12DDI_HRTPROTECTEDSESSION_0030 hRTProtectedSession,
  D3D12DDICB_CREATE_PROTECTED_SESSION_0030 *pArgs
)
{...}

Parameters

hRTDevice

The hardware device being processed.

hRTProtectedSession

The protected session.

pArgs

Pointer to a D3D12DDICB_CREATE_PROTECTED_SESSION_0030 structure containing creation arguments for the protected resource session.

Return value

Returns STATUS_SUCCESS if completed successfully.

Remarks

This function is added to the D3D12DDI_CORELAYER_DEVICECALLBACKS function table. This callback must be called during a call to PFND3D12DDI_CREATEPROTECTEDRESOURCESESSION_0074.

See the Protected Resources Specification for more information.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Windows
Header d3d12umddi.h

See also

D3D12DDICB_CREATE_PROTECTED_SESSION_0030

PFND3D12DDI_CREATEPROTECTEDRESOURCESESSION_0074