Condividi tramite


PFND3D12DDI_CREATE_PROTECTED_SESSION_CB_0030 funzione di callback (d3d12umddi.h)

Callback per creare una sessione di risorse protetta dal kernel grafico.

Sintassi

PFND3D12DDI_CREATE_PROTECTED_SESSION_CB_0030 Pfnd3d12ddiCreateProtectedSessionCb0030;

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

Parametri

hRTDevice

Dispositivo hardware in fase di elaborazione.

hRTProtectedSession

Sessione protetta.

pArgs

Puntatore a una struttura D3D12DDICB_CREATE_PROTECTED_SESSION_0030 contenente argomenti di creazione per la sessione di risorse protetta.

Valore restituito

Restituisce STATUS_SUCCESS se completato correttamente.

Osservazioni

Questa funzione viene aggiunta alla tabella delle funzioni D3D12DDI_CORELAYER_DEVICECALLBACKS. Questo callback deve essere chiamato durante una chiamata a PFND3D12DDI_CREATEPROTECTEDRESOURCESESSION_0074.

Per altre informazioni, vedere la specifica delle risorse protette.

Fabbisogno

Requisito Valore
client minimo supportato Windows 10
server minimo supportato Windows Server 2016
piattaforma di destinazione Finestre
intestazione d3d12umddi.h

Vedere anche

D3D12DDICB_CREATE_PROTECTED_SESSION_0030

PFND3D12DDI_CREATEPROTECTEDRESOURCESESSION_0074