Skip to content

libcURL.MultipartForm.FormAddPtr

Andrew Lambert edited this page Nov 26, 2022 · 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, Option6 As Integer = CURLFORM_END, Value6 As Ptr = Nil, Option7 As Integer = CURLFORM_END, Value7 As Ptr = Nil, Option8 As Integer = CURLFORM_END, Value8 As Ptr = Nil, Option9 As Integer = CURLFORM_END, Value9 As Ptr = Nil, Option10 As Integer = CURLFORM_END, Value10 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-10] Integer Optional. If specified, a curlform option number.
Value[1-10] Ptr Optional. If specified, pointers to the value of the Option[1-10] 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