GetNetworkConnectivityHint function (netioapi.h)
Retrieves the aggregate level and cost of network connectivity that an application or service is likely to experience.
Syntax
IPHLPAPI_DLL_LINKAGE _NETIOAPI_SUCCESS_ NETIOAPI_API GetNetworkConnectivityHint(
[out] NL_NETWORK_CONNECTIVITY_HINT *ConnectivityHint
);
Parameters
[out] ConnectivityHint
A pointer to a value of type NL_NETWORK_CONNECTIVITY_HINT. The function sets this value to the aggregate connectivity level and cost hints.
Return value
In user mode, returns NO_ERROR on success, and a Win32 error code on failure. In kernel mode, returns STATUS_SUCCESS on success, and an NTSTATUS error code on failure.
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) |
Library | Iphlpapi.lib |
DLL | Iphlpapi.dll |
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