WSK_PROVIDER_BASIC_DISPATCH - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-wsk-_wsk_provider_basic_dispatch)

_WSK_PROVIDER_BASIC_DISPATCH structure

Description

The WSK_PROVIDER_BASIC_DISPATCH structure specifies the WSK subsystem's dispatch table of functions for a basic socket.

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.

Remarks

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.

See also

WSK_PROVIDER_CONNECTION_DISPATCH

WSK_PROVIDER_DATAGRAM_DISPATCH

WSK_PROVIDER_LISTEN_DISPATCH

WSK_SOCKET

WskCloseSocket

WskControlSocket

WskSocket