uapmdDispatchUndoCompletion

fun uapmdDispatchUndoCompletion(cbId: Int, resultPtr: Int)

The C callback takes uapmd_undo_result_t by value, i.e. as a pointer.