DrmDestroyContent function deletes a DRM content ID that was created by DrmCreateContentMixed.
NTSTATUS DrmDestroyContent( ULONG 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.
DrmCreateContentMixed returns STATUS_SUCCESS if the call was successful. Otherwise, it returns an appropriate error code.
A KS audio filter can only use
DrmDestroyContent to delete a DRM content ID that it obtained by calling DrmCreateContentMixed. Note that a KS audio filter must not use
DrmDestroyContent to delete a DRM content ID set by IDrmAudioStream::SetContentId or by an IOCTL_KS_PROPERTY request that sets the KSPROPERTY_DRMAUDIOSTREAM_CONTENTID property. Only the KS audio filter that created the content ID should delete it.
|Header||drmk.h (include Drmk.h)|