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
WNPERMC_PERM
The Permissions menu item is enabled.
WNPERMC_AUDIT
The Auditing menu item is enabled.
WNPERMC_OWNER
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