UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:netcon.INetSharingManager.get_NetConnectionProps |
INetSharingManager::get_NetConnectionProps (netcon.h) |
The get_NetConnectionProps method retrieves a properties interface for the specified connection. |
|
ics\inetsharingmanager_get_netconnectionprops.htm |
ics |
bf2db553-f324-4f23-b96e-f8ae703aa3ea |
12/05/2018 |
INetSharingManager interface [ICS/ICF],get_NetConnectionProps method, INetSharingManager.get_NetConnectionProps, INetSharingManager::get_NetConnectionProps, _ics_inetsharingmanager_get_netconnectionprops, get_NetConnectionProps, get_NetConnectionProps method [ICS/ICF], get_NetConnectionProps method [ICS/ICF],INetSharingManager interface, ics.inetsharingmanager_get_netconnectionprops, netcon/INetSharingManager::get_NetConnectionProps |
netcon.h |
Windows |
Windows XP [desktop apps only] |
None supported |
Hnetcfg.dll |
Windows |
19H1 |
|
|
|
|
|
|
[Internet Connection Firewall may be altered or unavailable in subsequent versions. Instead, use the Windows Firewall API.]
The get_NetConnectionProps method retrieves a properties interface for the specified connection.
Pointer to an INetConnection interface for the connection for which to retrieve the properties interface.
Pointer to an interface pointer that, on successful return, points to an INetConnectionProps interface for the connection.
If the method succeeds the return value is S_OK.
If the method fails, the return value is one of the following error codes.
Return code | Description |
---|---|
|
The operation was aborted. |
|
An unspecified error occurred. |
|
One of the parameters is invalid. |
|
A specified interface is not supported. |
|
A specified method is not implemented. |
|
The method was unable to allocate required memory. |
|
A pointer passed as a parameter is not valid. |
|
The method failed for unknown reasons. |
Not all connections can be configured for sharing. Retrieve the properties for the connection to verify that the connection can be shared before calling INetSharingManager::get_INetSharingConfigurationForINetConnection.
INetSharingManager::get_INetSharingConfigurationForINetConnection
Internet Connection Sharing and Internet Connection Firewall Interfaces
Internet Connection Sharing and Internet Connection Firewall Reference