Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The FWPM_NET_EVENT_CALLBACK2 function is used to add custom behavior to the net event subscription process.
Syntax
FWPM_NET_EVENT_CALLBACK2 FwpmNetEventCallback2;
void FwpmNetEventCallback2(
[in, out] void *context,
[in] const FWPM_NET_EVENT3 *event
)
{...}
Parameters
[in, out] context
Optional context pointer. It contains the value of the context parameter of the FwpmNetEventSubscribe2 function.
[in] event
An FWPM_NET_EVENT3 struct that contains the event information.
Return value
None
Remarks
Call FwpmNetEventSubscribe2 to register this callback function.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10, version 1607 [desktop apps only] |
| Minimum supported server | Windows Server 2016 [desktop apps only] |
| Target Platform | Windows |
| Header | fwpmu.h |