SIO_WSK_REGISTER_EXTENSION
The SIO_WSK_REGISTER_EXTENSION socket I/O control operation allows a WSK application to register for an extension interface that is supported by the WSK subsystem. This socket I/O control operation applies to all socket types.
To register an extension interface, a WSK application calls the WskControlSocket function with the following parameters.
Parameter | Value |
---|---|
RequestType |
WskIoctl |
ControlCode |
SIO_WSK_REGISTER_EXTENSION |
Level |
0 |
InputSize |
sizeof(WSK_EXTENSION_CONTROL_IN) |
InputBuffer |
A pointer to a WSK_EXTENSION_CONTROL_IN structure. This structure contains a pointer to the Network Programming Interface (NPI) identifier for the extension interface and pointers to the dispatch table and to the context for the WSK application's implementation of the extension interface. |
OutputSize |
sizeof(WSK_EXTENSION_CONTROL_OUT) |
OutputBuffer |
A pointer to a WSK_EXTENSION_CONTROL_OUT structure. This structure receives a pointer to the dispatch table and a pointer to the context for the WSK subsystem's implementation of the extension interface. |
OutputSizeReturned |
NULL |
A WSK application does not specify a pointer to an IRP when calling the WskControlSocket function to register an extension interface.
The contents of the dispatch table structures are extension interface-specific.
For more information about registering an extension interface, see Registering an Extension Interface.
Requirements
Version |
Available in Windows Vista and later versions of the Windows operating systems. |
Header |
Wsk.h (include Wsk.h) |