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 l'eliminazione del canale autenticato.

Valore restituito

DestroyAuthenticatedChannel restituisce uno dei valori seguenti:

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

Commenti

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

Requisiti

Requisito Valore
Client minimo supportato DestroyAuthenticatedChannel è supportato a partire dal sistema operativo Windows 7.
Piattaforma di destinazione Desktop
Intestazione d3dumddi.h (include D3dumddi.h)

Vedi anche

ConfigurareAuthenticatedChannel

CreateAuthenticatedChannel

D3DDDIARG_DESTROYAUTHENTICATEDCHANNEL