Collapse All
Parallels Virtualization SDK
PrlSrv_HasRestriction Function
PHT_SERVER See Also

Determines having restriction.

Syntax
PRL_RESULT PrlSrv_HasRestriction(
    PRL_HANDLE hServer, 
    PRL_LICENSE_RESTRICTION_KEY nRestrictionKey, 
    PRL_BOOL_PTR pbHasRestriction
);
File

PrlApiDisp.h

Parameters

hServer
A handle of type PHT_SERVER .
nRestrictionKey
Restriction key value form PRL_LICENSE_RESTRICTION_KEY enumeration.
pbHasRestriction
[out] A pointer to a variable that receives the result. PRL_TRUE indicates that the current license has the given restriction.
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_SUCCESS - operation completed successfully.

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