Skip to content

libcURL.MultipartForm.FormAddPtr

Andrew Lambert edited this page Jun 14, 2017 · 4 revisions

Method Signature

 Protected Function FormAddPtr(Option As Integer, Value As Ptr, Option1 As Integer = CURLFORM_END, Value1 As Ptr = Nil, Option2 As Integer = CURLFORM_END, Value2 As Ptr = Nil, Option3 As Integer = CURLFORM_END, Value3 As Ptr = Nil, Option4 As Integer = CURLFORM_END, Value4 As Ptr = Nil, Option5 As Integer = CURLFORM_END, Value5 As Ptr = Nil) As Boolean

Parameters

Name Type Comment
Option Integer A curlform option number.
Value Ptr A pointer to the value of the option number.
Option[1-5] Integer Optional. If specified, a curlform option number.
Value[1-5] Ptr Optional. If specified, pointers to the value of the Option[1-5] number.

Return value

Returns True if the operation succeeded. Check MultipartForm.LastError for the error number if this method returns False.

Remarks

This method works like FormAdd except that all the values are Ptrs that are passed verbatim to libcURL.

See also

Clone this wiki locally