INetFwPolicy2::get_Rules method (netfw.h)

Retrieves the collection of firewall rules.

This property is read-only.

Syntax

HRESULT get_Rules(
  INetFwRules **rules
);

Parameters

rules

Return value

None

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header netfw.h
DLL FirewallAPI.dll

See also

INetFwPolicy2

INetFwRules