Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
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 |