// wsk.h
typedef struct _WSK_CLIENT_LISTEN_DISPATCH {
PFN_WSK_ACCEPT_EVENT WskAcceptEvent;
PFN_WSK_INSPECT_EVENT WskInspectEvent;
PFN_WSK_ABORT_EVENT WskAbortEvent;
} WSK_CLIENT_LISTEN_DISPATCH, *PWSK_CLIENT_LISTEN_DISPATCH;
View the official Windows Driver Kit DDI referenceNo description available.
The WSK_CLIENT_LISTEN_DISPATCH structure specifies a WSK application's dispatch table of event callback functions for a listening socket.
WskAcceptEventA pointer to the WSK application's WskAcceptEvent event callback function for the socket. If the WSK application does not enable the WskAcceptEvent event callback function for the socket, this pointer can be NULL.
WskInspectEventA pointer to the WSK application's WskInspectEvent event callback function for the socket. If the WSK application does not enable conditional accept mode for the socket, this pointer can be NULL.
WskAbortEventA pointer to the WSK application's WskAbortEvent event callback function for the socket. If the WSK application does not enable conditional accept mode for the socket, this pointer can be NULL.
A WSK application passes a pointer to a WSK_CLIENT_LISTEN_DISPATCH structure to the WSK subsystem when the WSK application calls the WskSocket function to create a listening socket.