Collapse All
Parallels Virtualization SDK
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
Copyright © 1999-2017 Parallels International GmbH. All rights reserved.