Condividi tramite


PFND3DDDI_DESTROYAUTHENTICATEDCHANNEL funzione di callback (d3dumddi.h)

La funzione DestroyAuthenticatedChannel rilascia risorse per il canale autenticato creato dalla funzione CreateAuthenticatedChannel.

Sintassi

PFND3DDDI_DESTROYAUTHENTICATEDCHANNEL Pfnd3dddiDestroyauthenticatedchannel;

HRESULT Pfnd3dddiDestroyauthenticatedchannel(
  HANDLE hDevice,
  const D3DDDIARG_DESTROYAUTHENTICATEDCHANNEL *unnamedParam2
)
{...}

Parametri

hDevice

Handle per il dispositivo di visualizzazione (contesto grafico).

unnamedParam2

pData [in]

Puntatore a una struttura D3DDDIARG_DESTROYAUTHENTICATEDCHANNEL che contiene un membro che specifica l'handle per il canale autenticato da eliminare.

Valore restituito

DestroyAuthenticatedChannel restituisce uno dei valori seguenti:

Codice restituito Descrizione
S_OK Il canale autenticato viene eliminato definitivamente.
E_OUTOFMEMORY DestroyAuthenticatedChannel non è riuscito ad allocare la memoria necessaria per il completamento.

Osservazioni

La funzione di DestroyAuthenticatedChannel del driver deve disabilitare tutte le protezioni impostate tramite chiamate alla funzione ConfigureAuthenticatedChannel del driver con il D3DAUTHETICATEDCONFIGURE_PROTECTION e D3DAUTHENTICATEDCONFIGURE_ENCRYPTIONWHENACCESIBLE GUID impostati. Tuttavia, il driver non deve disabilitare la protezione della superficie condivisa (D3DAUTHETICATEDCONFIGURE_SHAREDRESOURCE).

Fabbisogno

Requisito Valore
client minimo supportato DestroyAuthenticatedChannel è supportato a partire dal sistema operativo Windows 7.
piattaforma di destinazione Desktop
intestazione d3dumddi.h (include D3dumddi.h)

Vedere anche

ConfigureAuthenticatedChannel

CreateAuthenticatedChannel

D3DDDIARG_DESTROYAUTHENTICATEDCHANNEL