WSK_CLIENT

The WSK_CLIENT data type defines the WSK subsystem's binding context for its attachment to a WSK application.

typedef PVOID PWSK_CLIENT;

PWSK_CLIENT
The contents of the WSK_CLIENT structure are opaque to a WSK application.

Remarks

When a WSK application calls the WskCaptureProviderNPI function, the WSK subsystem returns a pointer to a WSK_CLIENT structure to the WSK application by means of the WskProviderNpi parameter. The WSK subsystem uses this structure to track the state of the binding between the WSK application and the WSK subsystem. A WSK application passes this pointer as a parameter to all the functions in WSK_PROVIDER_DISPATCH (WskControlClient, WskSocket, and WskSocketConnect).

For more information, see Registering a Winsock Kernel Application.

Requirements

Version: Available in Windows Vista and later versions of the Windows operating systems.

Header: Wsk.h (include Wsk.h)

See also

WskCaptureProviderNPI
WskControlClient
WskSocket
WskSocketConnect
WSK_PROVIDER_DISPATCH