ID3D11VideoDevice ::CreateAuthenticatedChannel, méthode (d3d11.h)

Crée un canal pour communiquer avec le périphérique Microsoft Direct3D ou le pilote graphique. Le canal peut être utilisé pour envoyer des commandes et des requêtes pour la protection du contenu.

Syntaxe

HRESULT CreateAuthenticatedChannel(
  [in]  D3D11_AUTHENTICATED_CHANNEL_TYPE ChannelType,
  [out] ID3D11AuthenticatedChannel       **ppAuthenticatedChannel
);

Paramètres

[in] ChannelType

Spécifie le type de canal, en tant que membre de l’énumération D3D11_AUTHENTICATED_CHANNEL_TYPE .

[out] ppAuthenticatedChannel

Reçoit un pointeur vers l’interface ID3D11AuthenticatedChannel . L’appelant doit libérer l’interface.

Valeur retournée

Si cette méthode réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreur HRESULT.

Remarques

Si le paramètre ChannelType est D3D11_AUTHENTICATED_CHANNEL_D3D11, la méthode crée un canal avec l’appareil Direct3D. Ce type de canal ne prend pas en charge l’authentification.

Si ChannelType est D3D11_AUTHENTICATED_CHANNEL_DRIVER_SOFTWARE ou D3D11_AUTHENTICATED_CHANNEL_DRIVER_HARDWARE, la méthode crée un canal authentifié avec le pilote graphique.

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows 8 [applications de bureau | Applications UWP]
Serveur minimal pris en charge Windows Server 2012 [applications de bureau | Applications UWP]
Plateforme cible Windows
En-tête d3d11.h

Voir aussi

ID3D11VideoDevice