IDrmPort::ForwardContentToInterface method (portcls.h)

The ForwardContentToInterface method accepts a pointer to the COM interface of an object to which the caller intends to forward protected content. Note that this method is identical in operation to the DrmForwardContentToInterface function, and its parameter definitions and return value are also identical.

Syntax

NTSTATUS ForwardContentToInterface(
  ULONG    ContentId,
  PUNKNOWN pUnknown,
  ULONG    NumMethods
);

Parameters

ContentId

Specifies the DRM content ID. This parameter identifies a protected KS audio stream.

pUnknown

Pointer to a COM interface that directly receives KS audio stream data for a KS audio filter.

NumMethods

Specifies the total number of methods in the COM interface that pUnknown points to, including all the methods in its base interfaces.

Return value

This method returns NTSTATUS.

Remarks

See comments in DrmForwardContentToInterface.

Requirements

Requirement Value
Header portcls.h

See also

IDrmPort