FWPM_CONNECTION_CALLBACK0 callback function (fwpmu.h)
The FWPM_CONNECTION_CALLBACK0 function is used to add custom behavior to the connection object subscription process.
Syntax
FWPM_CONNECTION_CALLBACK0 FwpmConnectionCallback0;
void FwpmConnectionCallback0(
[in, out] void *context,
[in] FWPM_CONNECTION_EVENT_TYPE eventType,
[in] const FWPM_CONNECTION0 *connection
)
{...}
Parameters
[in, out] context
Type: void*
Optional context pointer. It contains the value of the context parameter of the FwpmConnectionSubscribe0 function.
[in] eventType
Type: FWPM_CONNECTION_EVENT_TYPE
The type of connection object change event.
[in] connection
Type: FWPM_CONNECTION0*
The connection object change information.
Return value
None
Remarks
Call FwpmConnectionSubscribe0 to register this callback function.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | fwpmu.h |