xpdfSpliceOpenInputWithPassword

Open an input PDF file, with a password.
XpdfSpliceInputHandle xpdfSpliceOpenInputWithPassword(const char *pdfFileName, const char *password)
This function opens an input PDF file, pdfFileName, from disk, applying the specified password, and constructs a handle.

The xpdfSpliceOpenInputWithPassword function returns an XpdfSpliceInputHandle if successful, and otherwise returns NULL.

IMPORTANT: The PDF file on disk must not be deleted or modified until after xpdfSpliceCloseInput is called.

C:
XpdfSpliceInputHandle in; in = xpdfSpliceOpenInputWithPassword("c:/test/file.pdf", "secret"); if (!in) { /* handle the error */ }
xpdfSpliceOpenInput
xpdfSpliceOpenInputW
xpdfSpliceOpenInputWithPasswordW
xpdfSpliceOpenInputMem
xpdfSpliceOpenInputMemWithPassword
xpdfSpliceCloseInput