IDrmPort interface

The IDrmPort interface is used by a WaveCyclic or WavePci miniport driver to manage DRM-protected content (see Digital Rights Management). The port driver implements this interface and exposes it to the miniport driver. In Windows XP and later, the WaveCyclic and WavePci port drivers support this interface. To determine whether a port driver supports the IDrmPort interface, a miniport driver calls the port (IPortWaveCyclic or IPortWavePci) object's QueryInterface method with REFIID IID_IDrmPort.

The methods in this interface serve as alternate entry points to the DRM Functions in the DRMK system driver, drmk.sys.

For more information about IDrmPort, see Content IDs and Content Rights.


The IDrmPort interface inherits from the IUnknown interface.


The IDrmPort interface has these methods.

Method Description
IDrmPort::CreateContentMixed The CreateContentMixed method computes the DRM content rights for a composite stream containing mixed content from some number of KS audio streams.
IDrmPort::DestroyContent The DestroyContent method deletes a DRM content ID that was created by IDrmPort::CreateContentMixed.
IDrmPort::ForwardContentToFileObject The ForwardContentToFileObject method is obsolete and is maintained only to support existing drivers.
IDrmPort::ForwardContentToInterface The ForwardContentToInterface method accepts a pointer to the COM interface of an object to which the caller intends to forward protected content.
IDrmPort::GetContentRights The GetContentRights method retrieves the DRM content rights that are assigned to a stream that is identified by a content ID.


Target Platform Windows
Header portcls.h