|Top Previous Next|
The function gets called to get archive password from the user.
Plugin must remember the pointer on the function in ArcInitPluginW.
Pointer on a string with archive name.
Pointer on a string with the name of unarchived file. If password is required for the whole archive, not just a specific file, the pointer must be NULL.
Pointer on a buffer, containing 0-terminated password. The length of the buffer allocated by the plugin must be no less than PasswordMaxLen+1 characters.
Maximum password buffer length.
Returns one of following values:
The function gets called by the plugin as needed. During execution of the function an appropriate dialog is shown to get password from the user.
A password can be received for a specific file, or the entire archive.
Returning value allows handling buttons "OK", "Cancel", "Skip" (if password was for a specific file).