FPDFJavaScriptAction_GetName function
- @Native<UnsignedLong Function(FPDF_JAVASCRIPT_ACTION, Pointer<
FPDF_WCHAR> , UnsignedLong)>(FPDF_JAVASCRIPT_ACTION, ffi.Pointer<FPDF_WCHAR>, ffi.UnsignedLong)>()
- FPDF_JAVASCRIPT_ACTION javascript,
- Pointer<
FPDF_WCHAR> buffer, - int buflen
Experimental API. Get the name from the |javascript| handle. |buffer| is only modified if |buflen| is longer than the length of the name. On errors, |buffer| is unmodified and the returned length is 0.
javascript - handle to an JavaScript action. buffer - buffer for holding the name, encoded in UTF-16LE. buflen - length of the buffer in bytes.
Returns the length of the JavaScript action name in bytes.
Implementation
@ffi.Native<
ffi.UnsignedLong Function(
FPDF_JAVASCRIPT_ACTION,
ffi.Pointer<FPDF_WCHAR>,
ffi.UnsignedLong,
)
>()
external int FPDFJavaScriptAction_GetName(
FPDF_JAVASCRIPT_ACTION javascript,
ffi.Pointer<FPDF_WCHAR> buffer,
int buflen,
);