xpdfSpliceOpenInputW
Open an input PDF file with a Unicode file name.
// Windows only
XpdfSpliceInputHandle xpdfSpliceOpenInputW(const wchar_t *pdfFileName)
This function opens an input PDF file,
pdfFileName
, from
disk, and constructs a handle.
This function is identical to xpdfSpliceOpenInput
, except that the
file name is Unicode (whcar_t*
instead
of char*
).
The xpdfSpliceOpenInputW
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.
This function is only available on Windows.
C:
XpdfSpliceInputHandle in;
in = xpdfSpliceOpenInputW(L"c:/test/file.pdf");
if (!in) {
/* handle the error */
}