Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D11VideoContext1::GetDataForNewHardwareKey method

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

pCryptoSession [in]

Type: ID3D11CryptoSession*

A pointer to the ID3D11CryptoSession interface. To get this pointer, call ID3D11VideoDevice1::CreateCryptoSession.

PrivateInputSize [in]

Type: UINT

The size of the memory referenced by the pPrivateInputData parameter.

pPrivatInputData [in]

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.

pPrivateOutputData [out]

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_OKThe operation completed successfully.
E_OUTOFMEMORYThere is insufficient memory to complete the operation.

 

Requirements

Minimum supported client

Windows 10 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

D3d11_1.h

See also

ID3D11VideoContext1

 

 

Show:
© 2017 Microsoft