Collapse All
Parallels Virtualization SDK
PrlNetworkShapingConfig_SetEnabled Function
PHT_NETWORK_SHAPING_CONFIG

Allows to enable or disable the network shaping.

Syntax
PRL_RESULT PrlNetworkShapingConfig_SetEnabled(
    PRL_HANDLE hConfig, 
    PRL_BOOL bEnabled
);
File

PrlApiDeprecated.h

Parameters

hConfig
A handle of type PHT_NETWORK_SHAPING_CONFIG .
bEnabled
A boolean value indicating the type of action to perform. PRL_TRUE will enable the network shaping. PRL_FALSE will disable it.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle was passed.

PRL_ERR_SUCCESS - function completed successfully.

Links
Copyright © 1999-2017 Parallels International GmbH. All rights reserved.