FPDFAnnot_AddFileAttachment method
Experimental API. Add an embedded file with |name| to |annot|.
annot - handle to a file annotation. name - name of the new attachment.
Returns a handle to the new attachment object, or NULL on failure.
Implementation
FPDF_ATTACHMENT FPDFAnnot_AddFileAttachment(
FPDF_ANNOTATION annot,
FPDF_WIDESTRING name,
) {
return _FPDFAnnot_AddFileAttachment(annot, name);
}