WSK_CLIENT_STREAM_DISPATCH - NtDoc

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

typedef struct _WSK_CLIENT_STREAM_DISPATCH {
  const WSK_CLIENT_LISTEN_DISPATCH     *Listen;
  const WSK_CLIENT_CONNECTION_DISPATCH *Connect;
} WSK_CLIENT_STREAM_DISPATCH, *PWSK_CLIENT_STREAM_DISPATCH;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

_WSK_CLIENT_STREAM_DISPATCH structure

Description

The WSK_CLIENT_STREAM_DISPATCH structure specifies a WSK application's dispatch table of event callback functions for a stream socket. Because a stream socket can act either as a listening socket or a connection-oriented socket, this structure allows a stream socket to access the dispatch tables for both the WSK_CLIENT_LISTEN_DISPATCH structure and the WSK_CLIENT_CONNECTION_DISPATCH structure.

Members

Listen

A pointer to a WSK_CLIENT_LISTEN_DISPATCH structure, which specifies a WSK application's dispatch table of event callback functions for a stream socket which is acting as a listening socket.

Connect

A pointer to a WSK_CLIENT_CONNECTION_DISPATCH structure, which specifies a WSK application's dispatch table of event callback functions for a stream socket which is acting as a connection-oriented socket.

Remarks

A WSK application passes a pointer to a WSK_CLIENT_STREAM_DISPATCH structure to the WSK subsystem when the WSK application calls the WskSocket function to create a stream socket.

See also

WSK_CLIENT_CONNECTION_DISPATCH

WSK_CLIENT_LISTEN_DISPATCH

WSK_PROVIDER_STREAM_DISPATCH

WskSocket