pdfSaveEmbeddedFileW

Save an embedded file with a Unicode file name.
// Windows only int pdfSaveEmbeddedFileW(PDFHandle pdf, int idx, wchar_t *fileName)
This function saves the specified embedded file to disk.

This function is identical to pdfSaveEmbeddedFile, except that it takes a Unicode file name.

Embedded files are numbered 0 through n-1 (where n is the value returned by pdfGetNumEmbeddedFiles).

The pdfSaveEmbeddedFileW function returns pdfOk if successful, otherwise an error code.

This function is only available on Windows.

C:
if (pdfSaveEmbeddedFileW(pdf, i, L"test.pdf") != pdfOk) { /* handle the error */ }
pdfGetNumEmbeddedFiles
pdfGetEmbeddedFileName
pdfSaveEmbeddedFile
pdfGetEmbeddedFileMem