Bewerken

Delen via


AcxDrmAddContentHandlers function (acxstreams.h)

The AcxDrmAddContentHandlers function provides the system with a list of functions that handle protected content.

Syntax

NTSTATUS AcxDrmAddContentHandlers(
  ULONG ContentId,
  PVOID *paHandlers,
  ULONG NumHandlers
);

Parameters

ContentId

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

paHandlers

Pointer to an array of function pointers. Each array element points to a content handler.

NumHandlers

Specifies the number of function pointers in the paHandlers array.

Return value

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

Remarks

ACX requirements

Minimum ACX version: 1.0

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

Requirements

Requirement Value
Header acxstreams.h
IRQL PASSIVE_LEVEL

See also