// acxtargets.h
NTSTATUS AcxTargetStreamAssignDrmContentId(
ACXTARGETSTREAM TargetStream,
ULONG ContentId,
PACXDRMRIGHTS DrmRights
);
View the official Windows Driver Kit DDI referenceNo description available.
The AcxTargetStreamAssignDrmContentId function given an existing ACXTARGETSTREAM object, assigns a DRM Content ID to that stream.
TargetStreamAn existing ACXTARGETSTREAM object. For more information about ACX objects, see Summary of ACX Objects.
ContentIdSpecifies 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.
DrmRightsPointer 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.