PcAddContentHandlers function

The PcAddContentHandlers function provides the system with a list of functions that handle protected content. Note that this function call is identical in operation to the DrmAddContentHandlers function, and its parameter definitions and return value are also identical.

Syntax

PORTCLASSAPI NTSTATUS PcAddContentHandlers(
  ULONG ContentId,
  PVOID *paHandlers,
  ULONG NumHandlers
);

Parameters

ContentId

Specifies the DRM content ID. This parameter identifies a protected KS audio stream.

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

See return value definition in DrmAddContentHandlers.

Remarks

For more information, see the comments in DrmAddContentHandlers.

Requirements

   
Minimum supported client Available starting in Windows XP.
Target Platform Universal
Header portcls.h (include Portcls.h)
Library Portcls.lib

See also

DrmAddContentHandlers