Function pdfium_render::bindgen::FPDF_GetXFAPacketName
source ·
[−]pub unsafe extern "C" fn FPDF_GetXFAPacketName(
document: FPDF_DOCUMENT,
index: c_int,
buffer: *mut c_void,
buflen: c_ulong
) -> c_ulongExpand description
Experimental API. Function: FPDF_GetXFAPacketName Get the name of a packet in the XFA array. Parameters: document - Handle to the document. index - Index number of the packet. 0 for the first packet. buffer - Buffer for holding the name of the XFA packet. buflen - Length of |buffer| in bytes. Return value: The length of the packet name in bytes, or 0 on error.
|document| must be valid and |index| must be in the range [0, N), where N is the value returned by FPDF_GetXFAPacketCount(). |buffer| is only modified if it is non-NULL and |buflen| is greater than or equal to the length of the packet name. The packet name includes a terminating NUL character. |buffer| is unmodified on error.
