// wsk.h
typedef struct _WSK_PROVIDER_BASIC_DISPATCH {
PFN_WSK_CONTROL_SOCKET WskControlSocket;
PFN_WSK_CLOSE_SOCKET WskCloseSocket;
} WSK_PROVIDER_BASIC_DISPATCH, *PWSK_PROVIDER_BASIC_DISPATCH;
View the official Windows Driver Kit DDI referenceNo description available.
The WSK_PROVIDER_BASIC_DISPATCH structure specifies the WSK subsystem's dispatch table of functions for a basic socket.
WskControlSocketA pointer to the WSK subsystem's WskControlSocket function for the socket.
WskCloseSocketA pointer to the WSK subsystem's WskCloseSocket function for the socket.
A WSK application receives a pointer to a WSK_PROVIDER_BASIC_DISPATCH structure when the WSK application calls the WskSocket function to create a basic socket. The pointer is contained in the Dispatch member of the WSK_SOCKET structure that is received from the WSK subsystem.
The WSK_PROVIDER_BASIC_DISPATCH structure is also included in the WSK_PROVIDER_CONNECTION_DISPATCH, WSK_PROVIDER_DATAGRAM_DISPATCH, and WSK_PROVIDER_LISTEN_DISPATCH structures. The WskControlSocket and WskCloseSocket functions that are included in the WSK_PROVIDER_BASIC_DISPATCH structure are supported by all of the socket categories.
WSK_PROVIDER_CONNECTION_DISPATCH
WSK_PROVIDER_DATAGRAM_DISPATCH