Collapse All
Parallels C API Reference Guide
PrlFsEntry_GetPermissions Function
PrlApi.h PHT_REMOTE_FILESYSTEM_ENTRY

Returns the specified file system entry permissions (read, write, execute) for the current user.

Syntax
PRL_RESULT PrlFsEntry_GetPermissions(
    PRL_HANDLE hFsEntry, 
    PRL_UINT32_PTR pnPermissions
);
File
Parameters

hFsEntry
A handle of type PHT_REMOTE_FILESYSTEM_ENTRY identifying the file system entry.
pnPermissions
[out] A pointer to a variable that receives the permission information. The permissions are specified as bitmasks. For bitmask values see macros in the PrlFs.h file.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.

PRL_ERR_SUCCESS - function completed successfully.

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