Skip to content

Latest commit

 

History

History
175 lines (147 loc) · 3.63 KB

nf-netcon-inetconnection-rename.md

File metadata and controls

175 lines (147 loc) · 3.63 KB
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.INetConnection.Rename
INetConnection::Rename (netcon.h)
The Rename method renames this connection.
INetConnection interface [ICS/ICF]
Rename method
INetConnection.Rename
INetConnection::Rename
Rename
Rename method [ICS/ICF]
Rename method [ICS/ICF]
INetConnection interface
_ics_inetconnection_rename
ics.inetconnection_rename
netcon/INetConnection::Rename
ics\inetconnection_rename.htm
ics
741261cd-f86f-4889-aa3a-df3598938883
12/05/2018
INetConnection interface [ICS/ICF],Rename method, INetConnection.Rename, INetConnection::Rename, Rename, Rename method [ICS/ICF], Rename method [ICS/ICF],INetConnection interface, _ics_inetconnection_rename, ics.inetconnection_rename, netcon/INetConnection::Rename
netcon.h
Windows
Windows XP [desktop apps only]
None supported
Hnetcfg.dll
Windows
19H1
INetConnection::Rename
netcon/INetConnection::Rename
c++
APIRef
kbSyntax
COM
Hnetcfg.dll
INetConnection.Rename

INetConnection::Rename

-description

[Internet Connection Firewall may be altered or unavailable in subsequent versions. Instead, use the Windows Firewall API.]

The Rename method renames this connection.

-parameters

-param pszwNewName [in]

Pointer to a Unicode string that contains the new name for the connection.

-returns

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
E_ABORT
The operation was aborted.
E_FAIL
An unspecified error occurred.
E_INVALIDARG
One of the parameters is invalid.
E_NOINTERFACE
A specified interface is not supported.
E_NOTIMPL
A specified method is not implemented.
E_OUTOFMEMORY
The method was unable to allocate required memory.
E_POINTER
A pointer passed as a parameter is not valid.
E_UNEXPECTED
The method failed for unknown reasons.

-see-also

INetConnection

Internet Connection Sharing and Internet Connection Firewall Interfaces

Internet Connection Sharing and Internet Connection Firewall Reference