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

Client Requires Windows 7.
IDL Declared in Bdaiface.idl.

See Also

IBDA_WMDRMTuner

Send comments about this topic to Microsoft

Build date: 12/4/2008