KSP_DRMAUDIOSTREAM_CONTENTID structure (drmk.h)

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.

Syntax

typedef struct {
  KSPROPERTY                         Property;
  PVOID                              Context;
  PFNDRMADDCONTENTHANDLERS           DrmAddContentHandlers;
  PFNDRMCREATECONTENTMIXED           DrmCreateContentMixed;
  PFNDRMDESTROYCONTENT               DrmDestroyContent;
  PFNDRMFORWARDCONTENTTODEVICEOBJECT DrmForwardContentToDeviceObject;
  PFNDRMFORWARDCONTENTTOFILEOBJECT   DrmForwardContentToFileObject;
  PFNDRMFORWARDCONTENTTOINTERFACE    DrmForwardContentToInterface;
  PFNDRMGETCONTENTRIGHTS             DrmGetContentRights;
} KSP_DRMAUDIOSTREAM_CONTENTID, *PKSP_DRMAUDIOSTREAM_CONTENTID;

Members

Property

Specifies the property to get or set. This member is a structure of type KSPROPERTY.

Context

Pointer to context data. This is the context specified in the DrmForwardContentToDeviceObject function's DrmForward parameter.

DrmAddContentHandlers

Pointer to DrmAddContentHandlers function.

DrmCreateContentMixed

Pointer to DrmCreateContentMixed function.

DrmDestroyContent

Pointer to DrmDestroyContent function.

DrmForwardContentToDeviceObject

Pointer to DrmForwardContentToDeviceObject function.

DrmForwardContentToFileObject

Pointer to DrmForwardContentToFileObject function.

DrmForwardContentToInterface

Pointer to DrmForwardContentToInterface function.

DrmGetContentRights

Pointer to DrmGetContentRights function.

Remarks

The structure contains function pointers to the DRM library functions in order to provide the driver with convenient access to these functions.

Requirements

Requirement Value
Header drmk.h (include Drmk.h)

See also

DrmAddContentHandlers

DrmCreateContentMixed

DrmDestroyContent

DrmForwardContentToDeviceObject

DrmForwardContentToFileObject

DrmForwardContentToInterface

DrmGetContentRights

KSPROPERTY

KSPROPERTY_DRMAUDIOSTREAM_CONTENTID