-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.MultipartForm.FormAddPtr
Andrew Lambert edited this page Nov 26, 2022
·
4 revisions
libcURL.MultipartForm.FormAddPtr
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
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. |
Returns True
if the operation succeeded. Check MultipartForm.LastError
for the error number if this method returns False
.
This method works like FormAdd except that all the values are Ptrs that are passed verbatim to libcURL.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.