IDrmPort::GetContentRights method (portcls.h)

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

Syntax

NTSTATUS GetContentRights(
  ULONG      ContentId,
  PDRMRIGHTS DrmRights
);

Parameters

ContentId

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

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

This method returns NTSTATUS.

Remarks

See comments in DrmGetContentRights.

Requirements

Requirement Value
Header portcls.h

See also

IDrmPort