PNETWORK_CONNECTIVITY_HINT_CHANGE_CALLBACK callback function (netioapi.h)
The PNETWORK_CONNECTIVITY_HINT_CHANGE_CALLBACK type is a pointer to a function that you define in your application. The function is called whenever there's a change in the network aggregate connectivity level and cost hints.
Register your callback with a call to NotifyNetworkConnectivityHintChange.
Syntax
PNETWORK_CONNECTIVITY_HINT_CHANGE_CALLBACK PnetworkConnectivityHintChangeCallback;
void PnetworkConnectivityHintChangeCallback(
[in] PVOID CallerContext,
[in] NL_NETWORK_CONNECTIVITY_HINT ConnectivityHint
)
{...}
Parameters
[in] CallerContext
The user-specific caller context.
[in] ConnectivityHint
A value of type NL_NETWORK_CONNECTIVITY_HINT representing the aggregate connectivity level and cost hints.
Return value
None
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 2004 (10.0; Build 19041) |
Minimum supported server | Windows Server, version 2004 (10.0; Build 19041) |
Target Platform | Windows |
Header | netioapi.h (include iphlpapi.h) |