Partager via


ID3D11VideoDevice2 ::NegotiateCryptoSessionKeyExchangeMT, méthode (d3d11_4.h)

Vérifie que ID3D11VideoContext ::NegotiateCryptoSessionKeyExchange se comporte comme prévu lorsqu’il est appelé de façon asynchrone.

Syntaxe

HRESULT NegotiateCryptoSessionKeyExchangeMT(
  ID3D11CryptoSession                     *pCryptoSession,
  D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS flags,
  UINT                                    DataSize,
  void                                    *pData
);

Paramètres

pCryptoSession

Type : _In_ ID3D11CryptoSession*

Pointeur vers l’interface ID3D11CryptoSession de la session de chiffrement.

flags

Type : _In_ D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS

Drapeaux.

DataSize

Type : _In_ UINT

Taille du tableau d’octets pData , en octets.

pData

Type : _Inout_updates_bytes_(DataSize) void*

Pointeur vers un tableau d’octets qui contient la clé de session chiffrée.

Valeur retournée

Type : HRESULT

Si la fonction réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreurHRESULT.

Spécifications

Besoin Valeur
En-tête d3d11_4.h

Voir aussi