PFND3D12DDI_CREATEPROTECTEDRESOURCESESSION_0074 callback function (d3d12umddi.h)

Used to create a protected resource session.

Syntax

PFND3D12DDI_CREATEPROTECTEDRESOURCESESSION_0074 Pfnd3d12ddiCreateprotectedresourcesession0074;

HRESULT Pfnd3d12ddiCreateprotectedresourcesession0074(
  D3D12DDI_HDEVICE hDrvDevice,
  const D3D12DDIARG_CREATE_PROTECTED_RESOURCE_SESSION_0074 *pArgs,
  D3D12DDI_HPROTECTEDRESOURCESESSION_0030 hDrvProtectedResourceSession,
  D3D12DDI_HRTPROTECTEDSESSION_0030 hRtProtectedSession
)
{...}

Parameters

hDrvDevice

Handle to the hardware device being processed.

pArgs

Pointer to a D3D12DDIARG_CREATE_PROTECTED_RESOURCE_SESSION_0074 structure containing the arguments used to create a protected resource session.

hDrvProtectedResourceSession

Handle for driver to place its object representing the protected resource session.

hRtProtectedSession

Handle used to call PFND3D12DDI_CREATE_PROTECTED_SESSION_CB during protected session resource creation.

Return value

Returns STATUS_SUCCESS if completed successfully.

Remarks

The D3D runtime allocates memory for storing the driver's CPU object representing the protected resource session. This callback creates the protected resource session.

See the Protected Resources Specification for more information.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004
Target Platform Windows
Header d3d12umddi.h

See also

D3D12DDIARG_CREATE_PROTECTED_RESOURCE_SESSION_0074

PFND3D12DDI_CREATE_PROTECTED_SESSION_CB