Bewerken

Delen via


PcGetContentRights function (portcls.h)

The PcGetContentRights function retrieves the DRM content rights assigned to a DRM content ID. Note that this function call is identical in operation to the DrmGetContentRights function, and its parameter definitions and return value are also identical.

Syntax

PORTCLASSAPI NTSTATUS PcGetContentRights(
  [in]  ULONG      ContentId,
  [out] PDRMRIGHTS DrmRights
);

Parameters

[in] ContentId

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

[out] DrmRights

Specifies the DRM content rights that are assigned to the stream that is identified by ContentId. This parameter is a pointer to a DRMRIGHTS structure.

Return value

See return value definition in DrmGetContentRights.

Remarks

For more information, see the comments in DrmGetContentRights.

Requirements

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

See also

DrmGetContentRights