pdfLoadFileW
Load a PDF file from disk with a Unicode file name.
int pdfLoadFileW(PDFViewerHandle viewer, wchar_t *pdfFileName)
This function opens a PDF file,
pdfFileName
, from disk,
and displays its first page.
pdfLoadFileW
is identical to pdfLoadFile
, except that
the file name is Unicode (wchar_t*
instead
of char*
).
The pdfLoadFile
function returns pdfOk
if
successful, otherwise an error code.
IMPORTANT: The PDF file on disk must not be deleted or modified
until after pdfCloseFile
is called.
C:
if (pdfLoadFileW(viewer, L"c:\\test\\file.pdf") != pdfOk) {
/* error ... */
}