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 completata correttamente.

Commenti

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 .

Requisiti

Requisito Valore
Client minimo supportato Windows 10
Server minimo supportato Windows Server 2016
Piattaforma di destinazione Windows
Intestazione d3d12umddi.h

Vedi anche

D3D12DDICB_CREATE_PROTECTED_SESSION_0030

PFND3D12DDI_CREATEPROTECTEDRESOURCESESSION_0074