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.
Return value
Returns the memory address where the dropped data is located.
Note: This 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 longer than that.
Supported OS
All