Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlVmDevNet_SetFirewallRuleList Function
PHT_VIRTUAL_DEV_NET_ADAPTER

Sets the firewall rule entries list.

Syntax
PRL_RESULT PrlVmDevNet_SetFirewallRuleList(
    PRL_HANDLE hVmDev, 
    PRL_FIREWALL_DIRECTION nDirection, 
    PRL_HANDLE hRuleList
);
File

PrlApiDeprecated.h

Parameters

hVmDev
A handle of type PHT_VIRTUAL_DEV_NET_ADAPTER identifying the virtual network adapter.
nDirection
Direction of a firewall - to/from the virtual network adapter
hRuleList
The list of PHT_FIREWALL_RULE handles.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_OUT_OF_MEMORY - not enough memory to create a port forward entry object. 

PRL_ERR_SUCCESS - function completed successfully. 

Links
© 2021 Parallels International GmbH. All rights reserved.