Skip to content

Latest commit

 

History

History
85 lines (65 loc) · 3.19 KB

nf-d3d11-id3d11videocontext-getencryptionbltkey.md

File metadata and controls

85 lines (65 loc) · 3.19 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:d3d11.ID3D11VideoContext.GetEncryptionBltKey
ID3D11VideoContext::GetEncryptionBltKey (d3d11.h)
Gets the cryptographic key to decrypt the data returned by the ID3D11VideoContext::EncryptionBlt method.
GetEncryptionBltKey
GetEncryptionBltKey method [Media Foundation]
GetEncryptionBltKey method [Media Foundation]
ID3D11VideoContext interface
ID3D11VideoContext interface [Media Foundation]
GetEncryptionBltKey method
ID3D11VideoContext.GetEncryptionBltKey
ID3D11VideoContext::GetEncryptionBltKey
d3d11/ID3D11VideoContext::GetEncryptionBltKey
mf.id3d11videocontext_getencryptionbltkey
mf\id3d11videocontext_getencryptionbltkey.htm
mf
B62BE7CB-75FA-45E9-9AB7-83738DFE3B19
12/05/2018
GetEncryptionBltKey, GetEncryptionBltKey method [Media Foundation], GetEncryptionBltKey method [Media Foundation],ID3D11VideoContext interface, ID3D11VideoContext interface [Media Foundation],GetEncryptionBltKey method, ID3D11VideoContext.GetEncryptionBltKey, ID3D11VideoContext::GetEncryptionBltKey, d3d11/ID3D11VideoContext::GetEncryptionBltKey, mf.id3d11videocontext_getencryptionbltkey
d3d11.h
Windows
Windows 8 [desktop apps \| UWP apps]
Windows Server 2012 [desktop apps \| UWP apps]
Windows
19H1
ID3D11VideoContext::GetEncryptionBltKey
d3d11/ID3D11VideoContext::GetEncryptionBltKey
c++
APIRef
kbSyntax
COM
d3d11.h
ID3D11VideoContext.GetEncryptionBltKey

ID3D11VideoContext::GetEncryptionBltKey

-description

Gets the cryptographic key to decrypt the data returned by the ID3D11VideoContext::EncryptionBlt method.

-parameters

-param pCryptoSession [in]

A pointer to the ID3D11CryptoSession interface.

-param KeySize [in]

The size of the pReadbackKey array, in bytes. The size should match the size of the session key.

-param pReadbackKey [out]

A pointer to a byte array that receives the key. The key is encrypted using the session key.

-returns

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-remarks

This method applies only when the driver requires a separate content key for the EncryptionBlt method. For more information, see the Remarks for EncryptionBlt.

Each time this method is called, the driver generates a new key.

The KeySize should match the size of the session key.

The read back key is encrypted by the driver/hardware using the session key.

-see-also

ID3D11VideoContext