Collapse All
Parallels C API Reference Guide
PrlNetworkShapingEntry_SetTotalRate Function
PrlApi.h PHT_NETWORK_SHAPING

Sets the total rate for specified shaping entry.

Syntax
PRL_RESULT PrlNetworkShapingEntry_SetTotalRate(
    PRL_HANDLE pNetworkShapingEntry, 
    PRL_UINT32 nTotalRate
);
File
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 © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!