From: Rémi Bernon rbernon@codeweavers.com
We assume it does, in the other function that posts the message. --- dlls/winex11.drv/xdnd.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/dlls/winex11.drv/xdnd.c b/dlls/winex11.drv/xdnd.c index 36ec35f6c17..737bd947c1e 100644 --- a/dlls/winex11.drv/xdnd.c +++ b/dlls/winex11.drv/xdnd.c @@ -696,13 +696,7 @@ static HRESULT X11DRV_XDND_SendDropFiles(HWND hwnd) wine_dbgstr_point( &drop->pt), drop->fNC, files, debugstr_w(files) ); GlobalUnlock( medium.hGlobal );
- if (PostMessageW( hwnd, WM_DROPFILES, (WPARAM)medium.hGlobal, 0 )) - hr = S_OK; - else - { - hr = HRESULT_FROM_WIN32(GetLastError()); - GlobalFree( medium.hGlobal ); - } + PostMessageW( hwnd, WM_DROPFILES, (WPARAM)medium.hGlobal, 0 ); }
IDataObject_Release( &object->IDataObject_iface );