Condividi tramite


PFND3DKMT_DESTROYPROTECTEDSESSION funzione di callback (d3dkmthk.h)

Implementato dal driver client per eliminare una sessione protetta.

Sintassi

PFND3DKMT_DESTROYPROTECTEDSESSION PfnD3dkmtDestroyProtectedSession;

NTSTATUS PfnD3dkmtDestroyProtectedSession(
    D3DKMT_DESTROYPROTECTEDSESSION *unnamedParam1
)
{...}

Parametri

unnamedParam1

Puntatore a una struttura D3DKMT_DESTROYPROTECTEDSESSION contenente le informazioni necessarie per eliminare una sessione protetta.

Valore restituito

Il metodo restituisce STATUS_SUCCESS se l'operazione ha esito positivo. In caso contrario, questo metodo potrebbe restituire un codice di errore NTSTATUS appropriato.

Commenti

Registrare l'implementazione di questa funzione di callback impostando il membro appropriato di D3DKMT_DESTROYPROTECTEDSESSION e quindi chiamando PfnD3dkmtDestroyProtectedSession.

Requisiti

Requisito Valore
Intestazione d3dkmthk.h