Collapse All
Parallels C API Reference Guide
PrlSrv_GetRestrictionInfo Function
PrlApi.h 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
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 © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!