This function was introduced in Quick PDF Library version 10.12.
Determines if a password is a valid password for the selected document.
This is useful when the document has been opened with the user password but confirmation should be obtained from the user before changing security settings.
function TDebenuPDFLibrary1511.CheckPassword(Password: WideString): Integer;
Function DebenuPDFLibrary1511.PDFLibrary::CheckPassword(Password As String) As Long
int DPLCheckPassword(int InstanceID, wchar_t * Password)
|Password||The password to check|
|0||The document is not encrypted or the supplied password is not a valid owner or user password|
|1||Valid user password|
|2||Valid owner password|
|3||Valid owner and user password|