Skip to content

Latest commit

 

History

History
165 lines (139 loc) · 4 KB

nf-netfw-inetfwauthorizedapplications-remove.md

File metadata and controls

165 lines (139 loc) · 4 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:netfw.INetFwAuthorizedApplications.Remove
INetFwAuthorizedApplications::Remove (netfw.h)
The Remove method removes an application from the collection.
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
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
INetFwAuthorizedApplications::Remove
netfw/INetFwAuthorizedApplications::Remove
c++
APIRef
kbSyntax
COM
FirewallAPI.dll
Hnetcfg.dll
INetFwAuthorizedApplications.Remove

INetFwAuthorizedApplications::Remove

-description

[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.

-parameters

-param imageFileName [in]

Application name to be removed.

-returns

C++

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_ACCESSDENIED
The operation was aborted due to permissions issues.
E_INVALIDARG
The method failed due to an invalid parameter.
E_OUTOFMEMORY
The method was unable to allocate required memory.
 

VB

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_ACCESSDENIED
The operation was aborted due to permissions issues.
E_INVALIDARG
The method failed due to an invalid parameter.
E_OUTOFMEMORY
The method was unable to allocate required memory.

-remarks

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.

-see-also

INetFwAuthorizedApplications