IMFMediaEngineNeedKeyNotify::NeedKey method (mfmediaengine.h)

Notifies the application that a key or keys are needed along with any initialization data.

Syntax

void NeedKey(
  const BYTE *initData,
  DWORD      cb
);

Parameters

initData

The initialization data.

cb

The count in bytes of initData.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Target Platform Windows
Header mfmediaengine.h

See also

IMFMediaEngineNeedKeyNotify