INetFwRule::get_Direction method (netfw.h)
Specifies the direction of traffic for which the rule applies.
This property is read/write.
Syntax
HRESULT get_Direction(
NET_FW_RULE_DIRECTION *dir
);
Parameters
dir
Return value
None
Remarks
This property is optional. If this property is not specified, the default value is in.
Also see the restrictions on changing properties described in the Remarks section of the INetFwRule interface page.
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 |