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:netfw.INetFwAuthorizedApplications.Remove |
INetFwAuthorizedApplications::Remove (netfw.h) |
The Remove method removes an application from the collection. |
|
ics\inetfwauthorizedapplications_remove.htm |
ics |
7c4e7d3f-6ab2-46f9-a5a0-f2901a8b5734 |
12/05/2018 |
INetFwAuthorizedApplications interface [ICS/ICF],Remove method, INetFwAuthorizedApplications.Remove, INetFwAuthorizedApplications::Remove, Remove, Remove method [ICS/ICF], Remove method [ICS/ICF],INetFwAuthorizedApplications interface, ics.inetfwauthorizedapplications_remove, netfw/INetFwAuthorizedApplications::Remove |
netfw.h |
Windows |
Windows Vista, Windows XP with SP2 [desktop apps only] |
Windows Server 2003 with SP1 [desktop apps only] |
FirewallAPI.dll; Hnetcfg.dll on Windows XP with SP2 |
Windows |
19H1 |
|
|
|
|
|
|
[The Windows Firewall API is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. For Windows Vista and later, use of the Windows Firewall with Advanced Security API is recommended.]
The Remove method removes an application from the collection.
Application name to be removed.
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 due to permissions issues. |
|
The method failed due to an invalid parameter. |
|
The method was unable to allocate required memory. |
If the method fails, the return value is one of the following error codes.
Return code | Description |
---|---|
|
The operation was aborted due to permissions issues. |
|
The method failed due to an invalid parameter. |
|
The method was unable to allocate required memory. |
The imageFileName parameter must be a fully qualified path and may contain environment variables.
If the application does not exist in the collection, the Remove method has no effect.