// wsk.h
typedef struct _WSK_CLIENT_CONNECTION_DISPATCH {
PFN_WSK_RECEIVE_EVENT WskReceiveEvent;
PFN_WSK_DISCONNECT_EVENT WskDisconnectEvent;
PFN_WSK_SEND_BACKLOG_EVENT WskSendBacklogEvent;
} WSK_CLIENT_CONNECTION_DISPATCH, *PWSK_CLIENT_CONNECTION_DISPATCH;
View the official Windows Driver Kit DDI referenceNo description available.
The WSK_CLIENT_CONNECTION_DISPATCH structure specifies a WSK application's dispatch table of event callback functions for a connection-oriented socket.
WskReceiveEventA pointer to the WSK application's WskReceiveEvent event callback function for the socket. If the WSK application does not enable the WskReceiveEvent event callback function for the socket, this pointer can be NULL.
WskDisconnectEventA pointer to the WSK application's WskDisconnectEvent event callback function for the socket. If the WSK application does not enable the WskDisconnectEvent event callback function for the socket, this pointer can be NULL.
WskSendBacklogEventA pointer to the WSK application's WskSendBacklogEvent event callback function for the socket. If the WSK application does not enable the WskSendBacklogEvent event callback function for the socket, this pointer can be NULL.
A WSK application passes a pointer to a WSK_CLIENT_CONNECTION_DISPATCH structure to the WSK subsystem in one of the following ways:
WSK_PROVIDER_CONNECTION_DISPATCH