On Fri May 16 18:51:43 2025 +0000, Lorenzo Ferrillo wrote:
right on both front. I need to check better the flow regarding freeing the interface, mainly if DoDragDrop is a sort of loop or it return immediately to the caller
MS docs say it is a loop.
But even if it wasn't, you can just release that reference immediately after DoDragDrop returns. If the function needs to keep it, it'll add its own reference.
(To clarify the E_OUTOFMEMORY thing: Should do that if dummy is null.)