NPFMXGetPermCaps function (npapi.h)
Retrieves the capabilities of the permission editor. The return value is a bitmask that indicates which of the Security menu items in File Manager are to be enabled.
Syntax
DWORD NPFMXGetPermCaps(
[in] LPWSTR lpDriveName
);
Parameters
[in] lpDriveName
Pointer to the name of the drive currently selected in File Manager.
Return value
A bitmask that indicates what permission capability the user has on the selected drive. The bitmask is a combination of the following flags.
Return code | Description |
---|---|
|
The Permissions menu item is enabled. |
|
The Auditing menu item is enabled. |
|
The Owner menu item is enabled. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | npapi.h |