Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlVmDevNet_SetFirewallEnabled Function
PHT_VIRTUAL_DEV_NET_ADAPTER

Sets state switched on or off of the adapter firewall.

Syntax
PRL_RESULT PrlVmDevNet_SetFirewallEnabled(
    PRL_HANDLE hVmDev, 
    PRL_BOOL bEnabled
);
File

PrlApiDeprecated.h

Parameters

hVmDev
A handle of type PHT_VIRTUAL_DEV_NET_ADAPTER identifying the virtual network adapter.
bEnabled
The adapter firewall state.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Links
© 2021 Parallels International GmbH. All rights reserved.