INetworkEvents::NetworkConnectivityChanged method (netlistmgr.h)
The NetworkConnectivityChanged method is called when network connectivity related changes occur.
Syntax
HRESULT NetworkConnectivityChanged(
[in] GUID networkId,
[in] NLM_CONNECTIVITY newConnectivity
);
Parameters
[in] networkId
A GUID that specifies the new network that was added.
[in] newConnectivity
NLM_CONNECTIVITY enumeration value that contains the new connectivity of this network.
Return value
Returns S_OK if the method succeeds.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | netlistmgr.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for