PcDestroyContent function (portcls.h)

The PcDestroyContent function deletes a DRM content ID that was created by PcCreateContentMixed. Note that this function call is identical in operation to the DrmDestroyContent function, and its parameter definitions and return value are also identical.

Syntax

PORTCLASSAPI NTSTATUS PcDestroyContent(
  [in] ULONG ContentId
);

Parameters

[in] ContentId

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

Return value

See return value definition in DrmDestroyContent.

Remarks

For more information, see the comments in DrmDestroyContent.

Requirements

Requirement Value
Minimum supported client The PortCls system driver implements the PcDestroyContent function in Microsoft Windows XP and later operating systems.
Target Platform Universal
Header portcls.h (include Portcls.h)
Library Portcls.lib

See also

DrmDestroyContent

PcCreateContentMixed