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.INetFwRules.Item |
INetFwRules::Item (netfw.h) |
The Item method returns the specified rule if it is in the collection. |
|
ics\inetfwrules_item.htm |
ics |
91c5a93b-7408-4870-a2c0-167648d849cd |
12/05/2018 |
INetFwRules interface [ICS/ICF],Item method, INetFwRules.Item, INetFwRules::Item, Item, Item method [ICS/ICF], Item method [ICS/ICF],INetFwRules interface, ics.inetfwrules_item, netfw/INetFwRules::Item |
netfw.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2008 [desktop apps only] |
FirewallAPI.dll |
Windows |
19H1 |
|
|
|
|
|
|
The Item method returns the specified rule if it is in the collection.
Name of the rule to retrieve.
Reference to the returned INetFwRule object.
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. |
|
The method failed due to an invalid pointer. |
|
The requested item does not exist. |
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 method failed due to an invalid pointer. |
|
The requested item does not exist. |