PcForwardContentToInterface function (portcls.h)
The PcForwardContentToInterface function accepts a pointer to the COM interface of an object to which the caller intends to forward protected content. Note that this function call is identical in operation to the DrmForwardContentToInterface function, and its parameter definitions and return value are also identical.
Syntax
PORTCLASSAPI NTSTATUS PcForwardContentToInterface(
[in] ULONG ContentId,
[in] PUNKNOWN pUnknown,
[in] ULONG NumMethods
);
Parameters
[in] ContentId
Specifies the DRM content ID. This parameter identifies a protected KS audio stream.
[in] pUnknown
Pointer to a COM interface that directly receives KS audio stream data for a KS audio filter.
[in] 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
See return value definition in DrmForwardContentToInterface.
Remarks
For more information, see the comments in DrmForwardContentToInterface.
Requirements
Requirement | Value |
---|---|
Minimum supported client | The PortCls system driver implements the PcForwardContentToInterface function in Microsoft Windows XP and later operating systems. |
Target Platform | Universal |
Header | portcls.h (include Portcls.h) |
Library | Portcls.lib |