The WSK_PROVIDER_BASIC_DISPATCH structure specifies the WSK subsystem's dispatch table of functions for a basic socket.
typedef struct _WSK_PROVIDER_BASIC_DISPATCH { PFN_WSK_CONTROL_SOCKET WskControlSocket; PFN_WSK_CLOSE_SOCKET WskCloseSocket;} WSK_PROVIDER_BASIC_DISPATCH, *PWSK_PROVIDER_BASIC_DISPATCH;
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.
Versions: Available in Windows Vista and later versions of the Windows operating systems.
Headers: Defined in Wsk.h. Include Wsk.h.
WskCloseSocket,WskControlSocket,WskSocket,WSK_PROVIDER_CONNECTION_DISPATCH,WSK_PROVIDER_DATAGRAM_DISPATCH,WSK_PROVIDER_LISTEN_DISPATCH,WSK_SOCKET