_WSK_EXTENSION_CONTROL_IN structure

The WSK_EXTENSION_CONTROL_IN structure specifies a WSK application's implementation of an extension interface for a socket.

Syntax

typedef struct _WSK_EXTENSION_CONTROL_IN {
  PNPIID     NpiId;
  PVOID      ClientContext;
  CONST VOID *ClientDispatch;
} WSK_EXTENSION_CONTROL_IN, *PWSK_EXTENSION_CONTROL_IN;

Members

NpiId

A pointer to the Network Programming Interface (NPI) identifier that identifies the extension interface.

ClientContext

A pointer to a WSK application-supplied context for the registration of the extension interface on a socket. A WSK application uses this context to track the state of the extension interface registration for the socket. The contents of the WSK application's registration context are opaque to the WSK subsystem. The WSK subsystem passes this pointer to the WSK application whenever it calls any of the socket's extension interface event callback functions that require the WSK application's registration context.

ClientDispatch

A pointer to a structure that contains the WSK application's dispatch table of event callback functions for the extension interface. The contents of the structure are specific to the extension interface.

Remarks

A WSK application passes a pointer to a WSK_EXTENSION_CONTROL_IN structure to the WSK subsystem when registering an extension interface. For more information about registering an extension interface, see Registering an Extension Interface.

Requirements

   
Windows version Available in Windows Vista and later versions of the Windows operating systems.
Header wsk.h (include Wsk.h)

See Also

SIO_WSK_REGISTER_EXTENSION

WSK_EXTENSION_CONTROL_OUT

WskControlSocket