Skip to content

Latest commit

 

History

History
111 lines (86 loc) · 4.31 KB

ns-wsk-_wsk_event_callback_control.md

File metadata and controls

111 lines (86 loc) · 4.31 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NS:wsk._WSK_EVENT_CALLBACK_CONTROL
_WSK_EVENT_CALLBACK_CONTROL (wsk.h)
The WSK_EVENT_CALLBACK_CONTROL structure specifies the information for enabling and disabling a socket's event callback functions.
netvista\wsk_event_callback_control.htm
netvista
05/02/2018
WSK_EVENT_CALLBACK_CONTROL structure
*PWSK_EVENT_CALLBACK_CONTROL, PWSK_EVENT_CALLBACK_CONTROL, PWSK_EVENT_CALLBACK_CONTROL structure pointer [Network Drivers Starting with Windows Vista], WSK_EVENT_CALLBACK_CONTROL, WSK_EVENT_CALLBACK_CONTROL structure [Network Drivers Starting with Windows Vista], _WSK_EVENT_CALLBACK_CONTROL, netvista.wsk_event_callback_control, wsk/PWSK_EVENT_CALLBACK_CONTROL, wsk/WSK_EVENT_CALLBACK_CONTROL, wskref_22cd0a01-12fe-4e5a-a423-c3198cc5ab05.xml
wsk.h
Wsk.h
Windows
Available in Windows Vista and later versions of the Windows operating systems.
Windows
WSK_EVENT_CALLBACK_CONTROL, *PWSK_EVENT_CALLBACK_CONTROL
_WSK_EVENT_CALLBACK_CONTROL
wsk/_WSK_EVENT_CALLBACK_CONTROL
PWSK_EVENT_CALLBACK_CONTROL
wsk/PWSK_EVENT_CALLBACK_CONTROL
WSK_EVENT_CALLBACK_CONTROL
wsk/WSK_EVENT_CALLBACK_CONTROL
APIRef
kbSyntax
HeaderDef
wsk.h
_WSK_EVENT_CALLBACK_CONTROL
PWSK_EVENT_CALLBACK_CONTROL
WSK_EVENT_CALLBACK_CONTROL

_WSK_EVENT_CALLBACK_CONTROL structure

-description

The WSK_EVENT_CALLBACK_CONTROL structure specifies the information for enabling and disabling a socket's event callback functions.

-struct-fields

-field NpiId

A pointer to a Network Programming Interface (NPI) identifier that specifies the NPI for the event callback function that is being enabled or disabled. For enabling or disabling any of the standard WSK event callback functions, this member is a pointer to the WSK NPI identifier, NPI_WSK_INTERFACE_ID. For enabling or disabling any event callback functions for an extension interface, this member is a pointer to the NPI identifier for the extension interface.

-field EventMask

A ULONG value that contains a bitwise OR of event flags for the event callback functions that are being enabled or disabled. For information about the event flags for the standard WSK event callback functions, see SO_WSK_EVENT_CALLBACK.

-remarks

A WSK application can enable any combination of event callback functions for a socket simultaneously by setting the EventMask member to a bitwise OR of the event flags for all of the event callback functions that are being enabled. However, a WSK application must disable event callback functions individually by setting the EventMask member to a bitwise OR of the event flag for the event callback function that is being disabled and the WSK_EVENT_DISABLE flag.

For more information about statically enabling certain event callback functions for all of the sockets that are created by a WSK application, see WSK_SET_STATIC_EVENT_CALLBACKS.

For more information about enabling and disabling a socket's event callback functions, see Enabling and Disabling Event Callback Functions.

-see-also

SO_WSK_EVENT_CALLBACK

WSK_SET_STATIC_EVENT_CALLBACKS

WskControlClient

WskControlSocket