// wsk.h
typedef struct _WSK_EXTENSION_CONTROL_OUT {
PVOID ProviderContext;
const VOID *ProviderDispatch;
} WSK_EXTENSION_CONTROL_OUT, *PWSK_EXTENSION_CONTROL_OUT;
View the official Windows Driver Kit DDI referenceNo description available.
The WSK_EXTENSION_CONTROL_OUT structure specifies the WSK subsystem's implementation of an extension interface for a socket.
ProviderContextA pointer to a WSK subsystem-supplied context for the registration of the extension interface on a socket. The WSK subsystem uses this context to track the state of the extension interface registration for the socket. The contents of the WSK subsystem's registration context are opaque to the WSK application. The WSK application passes this pointer to the WSK subsystem whenever it calls any of the socket's extension interface functions that require the WSK subsystem's registration context.
ProviderDispatchA pointer to a structure that contains the WSK subsystem's dispatch table of functions for the extension interface. The contents of the structure are specific to the extension interface.
The WSK subsystem fills in the contents of the WSK_EXTENSION_CONTROL_OUT structure when a WSK application registers an extension interface. For more information about registering an extension interface, see Registering an Extension Interface.