structure KSP_DRMAUDIOSTREAM_CONTENTID (drmk.h)
La structure KSP_DRMAUDIOSTREAM_CONTENTID spécifie la propriété, le type de requête et le contexte d’une requête set-property KSPROPERTY_DRMAUDIOSTREAM_CONTENTID. Il spécifie également une liste de pointeurs de fonction vers les fonctions DRM .
Syntaxe
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;
Membres
Property
Spécifie la propriété à obtenir ou définir. Ce membre est une structure de type KSPROPERTY.
Context
Pointeur vers les données de contexte. Il s’agit du contexte spécifié dans le paramètre DrmForwardContentToDeviceObject de la fonction DrmForward.
DrmAddContentHandlers
Pointeur vers fonction DrmAddContentHandlers.
DrmCreateContentMixed
Pointeur vers fonction DrmCreateContentMixed.
DrmDestroyContent
Pointeur vers fonction DrmDestroyContent.
DrmForwardContentToDeviceObject
Pointeur vers fonction DrmForwardContentToDeviceObject.
DrmForwardContentToFileObject
Pointeur vers fonction DrmForwardContentToFileObject.
DrmForwardContentToInterface
Pointeur vers fonction DrmForwardContentToInterface.
DrmGetContentRights
Pointeur vers fonction DrmGetContentRights.
Remarques
La structure contient des pointeurs de fonction vers les fonctions de bibliothèque DRM afin de fournir au pilote un accès pratique à ces fonctions.
Exigences
Exigence | Valeur |
---|---|
d’en-tête | drmk.h (include Drmk.h) |