IMFContentDecryptorContext::InitializeHardwareKey method (mfidl.h)

Allows the display driver to return IHV-specific information used when initializing a new hardware key.

Syntax

HRESULT InitializeHardwareKey(
  [in]           UINT       InputPrivateDataByteCount,
  [in, optional] const void *InputPrivateData,
  [out]          UINT64     *OutputPrivateData
);

Parameters

[in] InputPrivateDataByteCount

The number of bytes in the buffer that InputPrivateData specifies.

[in, optional] InputPrivateData

The contents of this parameter are defined by the implementation of
the protection system that runs in the security processor. The contents may contain data about license or stream properties.

[out] OutputPrivateData

The return data is also defined by the implementation of the protection system implementation
that runs in the security processor. The contents may contain data associated with the underlying hardware key.

Return value

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

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header mfidl.h
Library Mfplat.lib
DLL Mfplat.dll

See also

IMFContentDecryptorContext