struttura NDK_LISTENER (ndkpi.h)

La struttura NDK_LISTENER specifica gli attributi di un oggetto listener NDK.

Sintassi

typedef struct _NDK_LISTENER {
  NDK_OBJECT_HEADER           Header;
  const NDK_LISTENER_DISPATCH *Dispatch;
} NDK_LISTENER;

Members

Header

Struttura NDK_OBJECT_HEADER per la struttura NDK_LISTENER . Impostare il membro ObjectType della struttura specificata da Header su NdkObjectTypeListener.

Dispatch

Puntatore a una struttura NDK_LISTENER_DISPATCH che definisce le funzioni dispatch per l'oggetto listener NDK.

Commenti

Un provider NDK deve impostare il membro Dispatch in modo che punti alla tabella NDK_LISTENER_DISPATCH prima di restituire l'oggetto listener creato. Inoltre, il provider NDK non deve usare il membro Dispatch dopo averla impostata perché il consumer NDK può modificare il membro Dispatch in un altro valore.

Requisiti

Requisito Valore
Client minimo supportato None supported,Supported in NDIS 6.30 and later.
Server minimo supportato Windows Server 2012
Intestazione ndkpi.h (include Ndkpi.h)

Vedi anche

Listener, connettori ed endpoint NDKPI

Requisiti di durata dell'oggetto NDKPI

NDK_FN_CLOSE_OBJECT

NDK_FN_CREATE_COMPLETION

NDK_FN_CREATE_LISTENER

NDK_LISTENER_DISPATCH

NDK_OBJECT_HEADER