not logged in | [Login]
While binding to C APIs that need callbacks is fine most of the time, occasionally you will hit a rare case where the API needs features that the FFI does not yet support - specifically, callback signatures with varargs or pass-by-value aggregates.
Please list examples here as you encounter them.
Implementing the IDropTarget COM interface requires methods that need pass-by-value POINTL struct parameters.
Please see this example for how to overcome this: FFI Callbacks with pass-by-value structs