pdfGetFileNameW

Get the file name of the currently open PDF file.
wchar_t *pdfGetFileNameW(PDFViewerHandle viewer)
This function returns the name of the currently displayed PDF file.

This function is identical to pdfGetFileName, except that it returns a Unicode string.

The returned string should not be modified or freed.

C:
wchar_t *name; name = pdfGetFileNameW(viewer);
pdfGetFileName