NPFMXEditPerm function (npapi.h)
Enables network vendors to supply their own permission editor dialog boxes.
Syntax
DWORD NPFMXEditPerm(
[in] LPWSTR lpDriveName,
[in] HWND hwndFMX,
[in] DWORD nDialogType
);
Parameters
[in] lpDriveName
Pointer to the current drive name selected in File Manager.
[in] hwndFMX
A handle to the FMX window which can be used to query selections.
[in] nDialogType
Specifies the type of permission dialog box to bring up. This parameter can be one of the following values.
Value | Meaning |
---|---|
|
Brings up the Permissions dialog box. |
|
Brings up the Auditing dialog box. |
|
Brings up the Owner dialog box. |
Return value
If the function succeeds, the function should return WN_SUCCESS.
If the function fails, it should call SetLastError to set extended error information, which may include the following values.
Return code | Description |
---|---|
|
NPFMXEditPerm is not supported in the provider. |
|
Some parameter takes an unexpected form or value. |
|
Not enough memory to display the dialog box. |
|
Some other network error occurred. |
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 |