EventDropBuffer()
Syntax
*Result = EventDropBuffer()Description
After a #PB_Event_GadgetDrop or #PB_Event_WindowDrop is received by WaitWindowEvent() or WindowEvent() with an OS specific format, this function can be used to access the data.
Parameters
None.
Return value
Returns the memory address where the dropped data is located. The EventDropSize() command returns the size of this buffer.
Remarks
The returned memory buffer is internal to the library and should not be freed. It is also only valid until the next call to WaitWindowEvent() or WindowEvent(), so the data should be copied if it is required for longer than that.
See Also
EventDropSize(), EnableGadgetDrop(), EnableWindowDrop(), EventDropType(), EventDropAction(), EventDropX(), EventDropY()
Supported OS
All