struttura AVC_PIN_DESCRIPTOR (avc.h)
La struttura AVC_PIN_DESCRIPTOR descrive un pin in un dispositivo subunit AV/C.
Sintassi
typedef struct _AVC_PIN_DESCRIPTOR {
ULONG PinId;
KSPIN_DESCRIPTOR PinDescriptor;
PFNAVCINTERSECTHANDLER IntersectHandler;
PVOID Context;
} AVC_PIN_DESCRIPTOR, *PAVC_PIN_DESCRIPTOR;
Membri
PinId
Specifica l'offset (o ID) del segnaposto per cui recuperare le informazioni.
PinDescriptor
Specifica una struttura KSPIN_DESCRIPTOR. Questa struttura viene allocata nel pool non di paging. Il driver subunit non deve liberare questo puntatore.
IntersectHandler
Parametro di output facoltativo che specifica un gestore intersect dell'intervallo di dati associato al membro dataRanges del membro PinDescriptor.
Context
Parametro di output facoltativo che specifica un valore da passare al IntersectHandler quando viene chiamato durante la negoziazione del formato. Per altre informazioni su che cos'è un gestore di intersezione, vedere intersezioni DataRange in AVStream.
Osservazioni
Questa struttura viene usata con il codice della funzione AVC_FUNCTION_GET_PIN_DESCRIPTOR.
Questa struttura viene utilizzata solo come membro all'interno della struttura AVC_MULTIFUNC_IRB. Non viene usato da solo.
Per informazioni sulla compilazione e l'invio di un comando AV/C, vedere Come usare Avc.sys.
Una descrizione dei membri della struttura di KSPIN_DESCRIPTOR utilizzata in AVC_PIN_DESCRIPTOR segue:
typedef struct {
ULONG InterfacesCount;
const KSPIN_INTERFACE* Interfaces;
ULONG MediumsCount;
const KSPIN_MEDIUM* Mediums;
ULONG DataRangesCount;
const PKSDATARANGE* DataRanges;
KSPIN_DATAFLOW DataFlow;
KSPIN_COMMUNICATION Communication;
const GUID* Category;
const GUID* Name;
union {
LONGLONG Reserved;
struct {
ULONG ConstrainedDataRangesCount;
PKSDATARANGE* ConstrainedDataRanges;
};
};
} KSPIN_DESCRIPTOR, *PKSPIN_DESCRIPTOR;
Fabbisogno
Requisito | Valore |
---|---|
intestazione | avc.h (include Avc.h) |