IBDA_WMDRMTuner::SetPidProtection Method

[This documentation is preliminary and is subject to change.]
Assigns a license to protect a stream. The stream is specified by packet identifier (PID).

Syntax

HRESULT SetPidProtection(
  [in]  ULONG ulPid,
  [in]  GUID *uuidKey
);

Parameters

  • ulPid [in]
    The PID of the stream to protect.

  • uuidKey [in]
    The ID of the content key for a current license.

Return Value

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

Requirements

Minimum supported client Windows 7
Minimum supported server Windows Server 2008 R2
IDL Bdaiface.idl

See Also

IBDA_WMDRMTuner

Send comments about this topic to Microsoft

Build date: 3/1/2009