PcForwardContentToDeviceObject function (portcls.h)

The PcForwardContentToDeviceObject function accepts a device object representing a device to which the caller intends to forward protected content. Note that this function call is identical in operation to the DrmForwardContentToDeviceObject function, and its parameter definitions and return value are also identical.

Syntax

PORTCLASSAPI NTSTATUS PcForwardContentToDeviceObject(
  [in]           ULONG        ContentId,
  [in, optional] PVOID        Reserved,
  [in]           PCDRMFORWARD DrmForward
);

Parameters

[in] ContentId

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

[in, optional] Reserved

Reserved for future use. Set to NULL.

[in] DrmForward

Pointer to a DRMFORWARD structure specifying a device object and file object that identify the target device and a KS audio pin on that device, respectively. The structure also contains the context value that the KSPROPERTY_DRMAUDIOSTREAM_CONTENTIDset-property request passes to the device.

Return value

See return value definition in DrmForwardContentToDeviceObject.

Remarks

For more information, see the comments in DrmForwardContentToDeviceObject.

Requirements

Requirement Value
Minimum supported client The PortCls system driver implements the PcForwardContentToDeviceObject function in Microsoft Windows XP and later operating systems.
Target Platform Universal
Header portcls.h (include Portcls.h)
Library Portcls.lib

See also

DrmForwardContentToDeviceObject