API reference › Import & Output APIs
pdfGetEmbeddedFileNode
Read an attachment's name and size through the node handle
Purpose — Read an attachment's name and size through the node handle minted by pdfGetEmbeddedFile.
Description — Fills FileName (8-bit) / FileNameW (UTF-16) and Size. Creation/modification dates are not retained by this engine (ModDate is stamped fresh at serialization), so the date fields stay zeroed.
BOOL32 __stdcall pdfGetEmbeddedFileNode(IEFN IEF, TPDFEmbFileNode* F, BOOL32 Decompress);
Return value — TRUE on success; FALSE for an invalid node handle or a deleted slot.
Memory & buffers — The returned name pointers live in the node descriptor; they remain valid until the same node handle is read again or the document is deleted.
C# (P/Invoke)
[return: MarshalAs(UnmanagedType.Bool)]
Getters
pdfGetEmbeddedFileNode
The …A form takes UTF-8, …W
takes UTF-16; a bare name aliases the ANSI form.
Worked examples — complete programs in ten languages.