WSK_PROVIDER_LISTEN_DISPATCH - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wsk.h

typedef struct _WSK_PROVIDER_LISTEN_DISPATCH {
  WSK_PROVIDER_BASIC_DISPATCH Basic;
  PFN_WSK_BIND                WskBind;
  PFN_WSK_ACCEPT              WskAccept;
  PFN_WSK_INSPECT_COMPLETE    WskInspectComplete;
  PFN_WSK_GET_LOCAL_ADDRESS   WskGetLocalAddress;
} WSK_PROVIDER_LISTEN_DISPATCH, *PWSK_PROVIDER_LISTEN_DISPATCH;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

_WSK_PROVIDER_LISTEN_DISPATCH structure

Description

The WSK_PROVIDER_LISTEN_DISPATCH structure specifies the WSK subsystem's table of functions for a listening socket.

Members

Basic

The members of the WSK_PROVIDER_BASIC_DISPATCH structure are included as members of the WSK_PROVIDER_LISTEN_DISPATCH structure.

WskBind

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

WskAccept

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

WskInspectComplete

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

WskGetLocalAddress

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

Remarks

The member list of the WSK_PROVIDER_LISTEN_DISPATCH structure includes an unnamed WSK_PROVIDER_BASIC_DISPATCH structure. The compiler that is included with the WDK supports a Microsoft-specific extension to the C language that allows unnamed structures within structure declarations. The result is that the structure members of the WSK_PROVIDER_BASIC_DISPATCH structure are included in the WSK_PROVIDER_LISTEN_DISPATCH structure as if they were native members of the WSK_PROVIDER_LISTEN_DISPATCH structure.

A WSK application receives a pointer to a WSK_PROVIDER_LISTEN_DISPATCH structure when the WSK application calls the WskSocket function to create a listening socket. The pointer is contained in the Dispatch member of the WSK_SOCKET structure that is received from the WSK subsystem.

See also

WSK_CLIENT_LISTEN_DISPATCH

WSK_PROVIDER_BASIC_DISPATCH

WSK_SOCKET

WskAccept

WskBind

WskCloseSocket

WskControlSocket

WskInspectComplete

WskSocket