Condividi tramite


Funzione KsPinRegisterHandshakeCallback (ks.h)

La funzione KsPinRegisterHandshakeCallback registra una routine di callback fornita da minidriver per un determinato pin. AVStream chiama la routine di callback quando riceve una richiesta di handshake per il pin che specifica un protocollo che AVStream non gestisce per impostazione predefinita.

Sintassi

void KsPinRegisterHandshakeCallback(
  [in] PKSPIN            Pin,
  [in] PFNKSPINHANDSHAKE Handshake
);

Parametri

[in] Pin

Puntatore alla struttura KSPIN per cui registrare un callback handshake.

[in] Handshake

Puntatore a una routine AVStrMiniPinHandshake fornita da minidriver da chiamare quando AVStream riceve una richiesta di handshake di protocollo sul Pin che non gestisce.

Valore restituito

nessuno

Osservazioni

I pin che supportano connessioni di protocollo privato con altri pin AVStream devono registrare un callback handshake.

I minidriver che supportano protocolli privati tra un pin specificato e un altro pin AVStream devono chiamare questa routine il prima possibile per registrare un callback. Quindi, se un altro pin richiede un handshake, il minidriver può restituire la richiesta.

Requisiti

Requisito Valore
Client minimo supportato Disponibile nei sistemi operativi Microsoft Windows XP e versioni successive e DirectX 8.0 e versioni successive di DirectX.
Piattaforma di destinazione Universale
Intestazione ks.h (include Ks.h)
Libreria Ks.lib
IRQL PASSIVE_LEVEL

Vedi anche

AVStrMiniPinHandshake

KSHANDSHAKE

KsFilterRegisterPowerCallbacks

KsPinHandshake

KsPinRegisterPowerCallbacks

KsRegisterAggregatedClientUnknown