ID3D11VideoContext1::GetDataForNewHardwareKey method (d3d11_1.h)
Allows the driver to return IHV specific information used when initializing the new hardware key.
Syntax
HRESULT GetDataForNewHardwareKey(
[in] ID3D11CryptoSession *pCryptoSession,
[in] UINT PrivateInputSize,
[in] const void *pPrivatInputData,
[out] UINT64 *pPrivateOutputData
);
Parameters
[in] pCryptoSession
Type: ID3D11CryptoSession*
A pointer to the ID3D11CryptoSession interface. To get this pointer, call ID3D11VideoDevice1::CreateCryptoSession.
[in] PrivateInputSize
Type: UINT
The size of the memory referenced by the pPrivateInputData parameter.
[in] pPrivatInputData
Type: const void*
The private input data. The contents of this parameter is defined by the implementation of the secure execution environment. It may contain data about the license or about the stream properties.
[out] pPrivateOutputData
Type: UINT64*
A pointer to the private output data. The return data is defined by the implementation of the secure execution environment. It may contain graphics-specific data to be associated with the underlying hardware key.
Return value
Type: HRESULT
This method returns one of the following error codes.
S_OK | The operation completed successfully. |
E_OUTOFMEMORY | There is insufficient memory to complete the operation. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Target Platform | Windows |
Header | d3d11_1.h |