Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlDispNet_SetEnabled Function
PHT_DISP_NET_ADAPTER  See Also

Allows to enable or disable a specified virtual network adapter.

Syntax
PRL_RESULT PrlDispNet_SetEnabled(
    PRL_HANDLE hDispNet, 
    PRL_BOOL bEnabled
);
File

PrlApiDeprecated.h

Parameters

hDispNet
A handle of type PHT_DISP_NET_ADAPTER identifying the network adapter.
bEnabled
A boolean value indicating the type of action to perform. PRL_TRUE will enable the adapter. PRL_FALSE will disable it.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

See Also
Links
© 2021 Parallels International GmbH. All rights reserved.