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.
NTSTATUS GetContentRights( ULONG ContentId, PDRMRIGHTS DrmRights );
Specifies the DRM content ID. This parameter identifies a KS audio stream.
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.
This method returns NTSTATUS.
See comments in DrmGetContentRights.