Index: fpdfsdk/include/fpdfview.h |
diff --git a/fpdfsdk/include/fpdfview.h b/fpdfsdk/include/fpdfview.h |
index 1b7ae2e2516c38fcb0dbfe0d12380a7458683ab7..4dcdcf620a909583c7dbf0047eb86d969f2ebb1f 100644 |
--- a/fpdfsdk/include/fpdfview.h |
+++ b/fpdfsdk/include/fpdfview.h |
@@ -260,6 +260,16 @@ DLLEXPORT unsigned long STDCALL FPDF_GetLastError(); |
// |
DLLEXPORT unsigned long STDCALL FPDF_GetDocPermissions(FPDF_DOCUMENT document); |
+// Function: FPDF_GetSecurityHandlerRevision |
+// Get the revision for security handler. |
+// Parameters: |
+// document - Handle to document. Returned by FPDF_LoadDocument function. |
+// Return value: |
+// The security handler revision number. Please refer to PDF Reference for |
+// detailed description. If the document is not protected, -1 will be returned. |
+// |
+DLLEXPORT int STDCALL FPDF_GetSecurityHandlerRevision(FPDF_DOCUMENT document); |
+ |
// Function: FPDF_GetPageCount |
// Get total number of pages in a document. |
// Parameters: |