Bewerken

Delen via


drmk.h header

This header is used by audio. For more information, see:

drmk.h contains the following programming interfaces:

Interfaces

 
IDrmAudioStream

The IDrmAudioStream interface assigns DRM protection to the digital content in an audio stream.

Functions

 
DrmAddContentHandlers

The DrmAddContentHandlers function provides the system with a list of functions that handle protected content.
DrmCreateContentMixed

The DrmCreateContentMixed function creates a DRM content ID to identify a KS audio stream containing mixed content from a number of streams.
DrmDestroyContent

The DrmDestroyContent function deletes a DRM content ID that was created by DrmCreateContentMixed.
DrmForwardContentToDeviceObject

The DrmForwardContentToDeviceObject function accepts a device object representing a device to which the caller intends to forward protected content.
DrmForwardContentToFileObject

The DrmForwardContentToFileObject function is obsolete and is maintained only to support existing drivers.
DrmForwardContentToInterface

The DrmForwardContentToInterface function accepts a pointer to the COM interface of an object to which the caller intends to forward protected content.
DrmGetContentRights

The DrmGetContentRights function retrieves the DRM content rights assigned to a DRM content ID.

Callback functions

 
PFNDRMADDCONTENTHANDLERS

Microsoft reserves the PFNDRMADDCONTENTHANDLERS callback function for internal use only. Don't use this function in your code.
PFNDRMCREATECONTENTMIXED

Microsoft reserves the PFNDRMCREATECONTENTMIXED callback function for internal use only. Don't use this function in your code.
PFNDRMDESTROYCONTENT

Microsoft reserves the PFNDRMDESTROYCONTENT callback function for internal use only. Don't use this function in your code.
PFNDRMFORWARDCONTENTTODEVICEOBJECT

Microsoft reserves the PFNDRMFORWARDCONTENTTODEVICEOBJECT callback function for internal use only. Don't use this function in your code.
PFNDRMFORWARDCONTENTTOFILEOBJECT

Microsoft reserves the PFNDRMFORWARDCONTENTTOFILEOBJECT callback function for internal use only. Don't use this function in your code.
PFNDRMFORWARDCONTENTTOINTERFACE

Microsoft reserves the PFNDRMFORWARDCONTENTTOINTERFACE callback function for internal use only. Don't use this function in your code.
PFNDRMGETCONTENTRIGHTS

Microsoft reserves the PFNDRMGETCONTENTRIGHTS callback function for internal use only. Don't use this function in your code.

Structures

 
DRMFORWARD

The DRMFORWARD structure contains the information that the DRMK system driver needs in order to forward a DRM content ID to a device that handles protected content.
DRMRIGHTS

The DRMRIGHTS structure specifies the DRM content rights assigned to a KS audio pin or to a port-class driver's stream object.
KSDRMAUDIOSTREAM_CONTENTID

The KSDRMAUDIOSTREAM_CONTENTID structure specifies the DRM content ID and DRM content rights for a KSPROPERTY_DRMAUDIOSTREAM_CONTENTIDset-property request.
KSP_DRMAUDIOSTREAM_CONTENTID

The KSP_DRMAUDIOSTREAM_CONTENTID structure specifies the property, request type, and context for a KSPROPERTY_DRMAUDIOSTREAM_CONTENTIDset-property request. It also specifies a list of function pointers to the DRM functions.