NPFMXEditPerm function
Enables network vendors to supply their own permission editor dialog boxes.
Syntax
DWORD NPFMXEditPerm( _In_ LPTSTR lpDriveName, _In_ HWND hwndFMX, _In_ DWORD nType );
Parameters
- lpDriveName [in]
-
Pointer to the current drive name selected in File Manager.
- hwndFMX [in]
-
A handle to the FMX window which can be used to query selections.
- nType [in]
-
Specifies the type of permission dialog box to bring up. This parameter can be one of the following values.
Value Meaning - WNPERM_DLG_PERM
Brings up the Permissions dialog box.
- WNPERM_DLG_AUDIT
Brings up the Auditing dialog box.
- WNPERM_DLG_OWNER
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
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|