-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.EasyHandle.SetOptionPtr
Andrew Lambert edited this page Nov 26, 2022
·
14 revisions
libcURL.EasyHandle.SetOptionPtr
Function SetOptionPtr(OptionNumber As Integer, NewValue As Ptr) As Boolean| Name | Type | Comment |
|---|---|---|
| OptionNumber | Integer | A cURL option number |
| NewValue | Ptr (see remarks) | The new value for the option |
If the option was set this method returns True. If it returns False the option was not set and the curl error number is stored in EasyHandle.LastError.
Call this method with a curl option number and a Ptr to a representation of the new value for that option. The Ptr is passed verbatim to libcURL. You may use this method if you want to bypass the automatic marshalling done by the SetOption() method.
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.