Bewerken

Delen via


PFND3D12DDI_CREATEPROTECTEDRESOURCESESSION_0030 callback function (d3d12umddi.h)

Used to create a protected resource session.

Syntax

PFND3D12DDI_CREATEPROTECTEDRESOURCESESSION_0030 Pfnd3d12ddiCreateprotectedresourcesession0030;

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

Parameters

hDrvDevice

The hardware device being processed.

pArgs

The arguments used to create a protected resource session.

hDrvProtectedResourceSession

The protected resource session.

hRtProtectedSession

The protected session.

Return value

Returns STATUS_SUCCESS if completed successfully.

Requirements

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