Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Allows the driver to return independent hardware vendor (IHV)-specific information used when initializing the new hardware key.
Syntax
PFND3DWDDM2_0DDI_GETDATAFORNEWHARDWAREKEY Pfnd3dwddm20DdiGetdatafornewhardwarekey;
HRESULT Pfnd3dwddm20DdiGetdatafornewhardwarekey(
D3D10DDI_HDEVICE hDevice,
D3D11_1DDI_HCRYPTOSESSION hCryptoSession,
UINT PrivateInputSize,
const void *pPrivatInputData,
UINT64 *pPrivateOutputData
)
{...}
Parameters
hDevice
A handle to the display device (graphics context). The Direct3D runtime passed the user-mode driver this handle as the hDevice member of the D3DDDIARG_CREATEDEVICE structure at device creation.
hCryptoSession
A handle to the cryptographic session object that was created through a call to the CreateCryptoSession function.
PrivateInputSize
The size of the buffer pointed to by pPrivatInputData, in bytes.
pPrivatInputData
A pointer to a buffer that receives private input data for the driver.
pPrivateOutputData
A pointer to a UINT64 value that receives private driver output data that could be used later by the secure DRM component when initializing the key.
Return value
Returns one of the following values:
Return code | Description |
---|---|
S_OK | Private driver data was successfully returned. |
E_OUTOFMEMORY | Memory was not available to complete the operation. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 |
Minimum supported server | Windows Server 2016 |
Target Platform | Desktop |
Header | d3d10umddi.h (include D3d10umddi.h) |