Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlNetworkShapingConfig_IsEnabled Function
PHT_NETWORK_SHAPING_CONFIG

Determines whether the network shaping is enabled or disabled.

Syntax
PRL_RESULT PrlNetworkShapingConfig_IsEnabled(
    PRL_HANDLE hConfig, 
    PRL_BOOL_PTR pbEnabled
);
File

PrlApiNet.h

Parameters

hConfig
A valid handle of type PHT_NETWORK_SHAPING_CONFIG identifying the adapter.
pbEnabled
[out] A pointer to a variable that receives the return value. PRL_TRUE indicates that the network shaping is enabled. PRL_FALSE indicates otherwise.

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.