Collapse All
Parallels C API Reference Guide
PrlNetworkShapingBandwidthEntry_SetBandwidth Function
PrlApi.h PHT_NETWORK_SHAPING_BANDWIDTH

Sets the network device bandwidth for specified shaping entry.

Syntax
PRL_RESULT PrlNetworkShapingBandwidthEntry_SetBandwidth(
    PRL_HANDLE hDeviceEntry, 
    PRL_UINT32 nBandwidth
);
File
Parameters

hDeviceEntry
A handle of type PHT_NETWORK_SHAPING_BANDWIDTH identifying the network shaping entry.
nBandwidth
Network device bandwidth
Returns

PRL_RESULT . Possible values are:

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!