Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlSrv_GetRestrictionInfo Function
PHT_SERVER  See Also

Gets restriction info.

Syntax
PRL_RESULT PrlSrv_GetRestrictionInfo(
    PRL_HANDLE hServer, 
    PRL_LICENSE_RESTRICTION_KEY nRestrictionKey, 
    PRL_HANDLE_PTR phEvtParam
);
File

PrlApiDisp.h

Parameters

hServer
A handle of type PHT_SERVER.
nRestrictionKey
Restriction key value form PRL_LICENSE_RESTRICTION_KEY enumeration.
phEvtParam
[out] A pointer to a variable that receives the handle of PHT_EVENT_PARAMETER type.

Returns

PRL_RESULT. Possible values: PRL_ERR_INVALID_ARG - non valid PHT_SERVER handle or non valid (NULL) pointer to the buffer for storing result was passed. PRL_ERR_NO_DATA - no info for the given restriction or restriction has boolean type. PRL_ERR_SUCCESS - operation completed successfully.

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