Collapse All
Parallels C API Reference Guide
PrlDispCfg_CanChangeDefaultSettings Function
PrlApi.h PHT_DISP_CONFIG See Also

Determines if new users have the right to modify Parallels Service preferences.

Syntax
PRL_RESULT PrlDispCfg_CanChangeDefaultSettings(
    PRL_HANDLE hDispConfig, 
    PRL_BOOL_PTR pbDefaultChangeSettings
);
File
Parameters

hDispConfig
A handle of type PHT_DISP_CONFIG .
pbDefaultChangeSettings
[out] A pointer to a variable that receives the result. PRL_TRUE indicates that new users are allowed to change the Parallels Service preferences. 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.

Remarks

By default, only administrators of the host machine can modify Parallels Service preferences. When a new Parallels Service user profile is created (this happens automatically when a user logs in to the Parallels Service for the first time), he/she will be granted or denied this privilege based on the flag set in the Parallels Service configuration. This function determines the status of this flag.

See Also
Links
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!