Bewerken

Delen via


AcxDrmRetrieveContentRights function (acxstreams.h)

The AcxDrmRetrieveContentRights function gets the DRM content rights assigned to a DRM content ID.

Syntax

NTSTATUS AcxDrmRetrieveContentRights(
  ULONG         ContentId,
  PACXDRMRIGHTS DrmRights
);

Parameters

ContentId

Specifies a nonzero DRM content ID assigned to an ACX audio stream by AcxDrmCreateContentMixed. A content ID of zero represents an audio stream with default DRM content rights and cannot be used with this function.

DrmRights

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

Return value

AcxDrmRetrieveContentRights returns STATUS_SUCCESS if the call was successful. Otherwise, it returns an appropriate error code.

Remarks

ACX requirements

Minimum ACX version: 1.1

For more information about ACX versions, see ACX version overview.

Requirements

Requirement Value
Header acxstreams.h
IRQL PASSIVE_LEVEL

See also