Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlFsEntry_GetPermissions Function
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

PrlApiDisp.h

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
© 2021 Parallels International GmbH. All rights reserved.