AcxTargetStreamAssignDrmContentId function (acxtargets.h)
The AcxTargetStreamAssignDrmContentId function given an existing ACXTARGETSTREAM object, assigns a DRM Content ID to that stream.
NTSTATUS AcxTargetStreamAssignDrmContentId(
ACXTARGETSTREAM TargetStream,
ULONG ContentId,
PACXDRMRIGHTS DrmRights
);
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.
Returns STATUS_SUCCESS
if the call was successful. Otherwise, it returns an appropriate error code. For more information, see Using NTSTATUS Values.
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.
Requirement | Value |
---|---|
Header | acxtargets.h |
IRQL | <= DISPATCH_LEVEL |