Skip to content

libcURL.EasyHandle.SetOptionPtr

Andrew Lambert edited this page Jun 7, 2015 · 14 revisions

#libcURL.EasyHandle.SetOptionPtr

##Method Signature

 Function SetOptionPtr(OptionNumber As Integer, NewValue As Ptr) As Boolean

##Parameters

Name Type Comment
OptionNumber Integer A cURL option number
NewValue Ptr (see notes) The new value for the option

##Return value 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.

##Notes 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.

##See also

Clone this wiki locally