Windows Driver Kit: Network Devices and Protocols
WSK_PROVIDER_BASIC_DISPATCH

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;

Members

WskControlSocket
A pointer to the WSK subsystem's WskControlSocket function for the socket.
WskCloseSocket
A pointer to the WSK subsystem's WskCloseSocket function for the socket.

Comments

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.

Requirements

Versions: Available in Windows Vista and later versions of the Windows operating systems.

Headers: Defined in Wsk.h. Include Wsk.h.

See Also

WskCloseSocket,
WskControlSocket,
WskSocket,
WSK_PROVIDER_CONNECTION_DISPATCH,
WSK_PROVIDER_DATAGRAM_DISPATCH,
WSK_PROVIDER_LISTEN_DISPATCH,
WSK_SOCKET


Send feedback on this topic
Built on October 01, 2009
Page view tracker