AVC_PIN_DESCRIPTOR struttura (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;

Members

PinId

Specifica l'offset (o l'ID) del pin per cui recuperare le informazioni.

PinDescriptor

Specifica una struttura KSPIN_DESCRIPTOR. Questa struttura viene allocata nel pool non a pagina. Il driver subunit non deve liberare questo puntatore.

IntersectHandler

Parametro di output facoltativo che specifica un gestore dell'intervallo di dati associato al membro DataRanges del membro PinDescriptor .

Context

Parametro di output facoltativo che specifica un valore da passare a IntersectHandler quando viene chiamato durante la negoziazione di formato. Per altre informazioni sul gestore intersect, vedere Intersezioni di DataRange in AVStream.

Commenti

Questa struttura viene usata con il codice della funzione AVC_FUNCTION_GET_PIN_DESCRIPTOR .

Questa struttura viene usata 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 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;

Requisiti

Requisito Valore
Intestazione avc.h (include Avc.h)

Vedi anche

Gestore intersect AV/C

AVC_MULTIFUNC_IRB

KSPIN_DESCRIPTOR