Virtuozzo Virtualization SDK C API Reference
|
Allows to enable or disable the network shaping.
PRL_RESULT PrlNetworkShapingConfig_SetEnabled( PRL_HANDLE hConfig, PRL_BOOL bEnabled );
PrlApiNet.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle was passed.
PRL_ERR_SUCCESS - function completed successfully.