PcAddContentHandlers function (portcls.h)

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(
  [in] ULONG ContentId,
  [in] PVOID *paHandlers,
  [in] ULONG NumHandlers
);

Parameters

[in] ContentId

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

[in] paHandlers

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

[in] 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

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

See also

DrmAddContentHandlers