Bewerken

Delen via


AcxTargetStreamAssignDrmContentId function (acxtargets.h)

The AcxTargetStreamAssignDrmContentId function given an existing ACXTARGETSTREAM object, assigns a DRM Content ID to that stream.

Syntax

NTSTATUS AcxTargetStreamAssignDrmContentId(
  ACXTARGETSTREAM TargetStream,
  ULONG           ContentId,
  PACXDRMRIGHTS   DrmRights
);

Parameters

TargetStream

An existing ACXTARGETSTREAM object. For more information about ACX objects, see Summary of ACX Objects.

ContentId

Specifies the DRM content ID. This parameter is an identifier that the DRM system generates at run time to identify DRM-protected content in this stream.

DrmRights

Pointer to a DRMRIGHTS structure specifying the rights granted by the content provider to the user for playing and copying DRM-protected content in this stream.

Return value

Returns STATUS_SUCCESS if the call was successful. Otherwise, it returns an appropriate error code. For more information, see Using NTSTATUS Values.

Remarks

ACX requirements

Minimum ACX version: 1.0

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

Requirements

Requirement Value
Header acxtargets.h
IRQL <= DISPATCH_LEVEL

See also