Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlNetworkShapingEntry_SetTotalRate Function
PHT_NETWORK_SHAPING

Sets the total rate for specified shaping entry.

Syntax
PRL_RESULT PrlNetworkShapingEntry_SetTotalRate(
    PRL_HANDLE pNetworkShapingEntry, 
    PRL_UINT32 nTotalRate
);
File

PrlApiNet.h

Parameters

nTotalRate
The network total rate in Kbits.
hNetworkShapingEntry
A handle of type PHT_NETWORK_SHAPING identifying the shaping entry.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

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