// d3d10umddi.h
PFND3DWDDM2_0DDI_GETDATAFORNEWHARDWAREKEY Pfnd3dwddm20DdiGetdatafornewhardwarekey;
HRESULT Pfnd3dwddm20DdiGetdatafornewhardwarekey(
D3D10DDI_HDEVICE hDevice,
D3D11_1DDI_HCRYPTOSESSION hCryptoSession,
UINT PrivateInputSize,
const void *pPrivatInputData,
UINT64 *pPrivateOutputData
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Allows the driver to return independent hardware vendor (IHV)-specific information used when initializing the new hardware key.
hDeviceA 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.
hCryptoSessionA handle to the cryptographic session object that was created through a call to the CreateCryptoSession function.
PrivateInputSizeThe size of the buffer pointed to by pPrivatInputData, in bytes.
pPrivatInputDataA pointer to a buffer that receives private input data for the driver.
pPrivateOutputDataA 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.
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. |