Module: wine
Branch: oldstable
Commit: 01256bcaa98e49589b67c1b2d73e0b638c5a5a70
URL: https://source.winehq.org/git/wine.git/?a=commit;h=01256bcaa98e49589b67c1b2…
Author: Jacek Caban <jacek(a)codeweavers.com>
Date: Tue Jan 7 20:45:17 2020 +0100
include: Add roerrorapi.h header.
Signed-off-by: Jacek Caban <jacek(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
(cherry picked from commit c1e73583111f83d03898f73c9c2283040dab8638)
Signed-off-by: Michael Stefaniuc <mstefani(a)winehq.org>
---
include/Makefile.in | 1 +
include/roerrorapi.h | 29 +++++++++++++++++++++++++++++
2 files changed, 30 insertions(+)
diff --git a/include/Makefile.in b/include/Makefile.in
index aaadb70dd5..da8d830856 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -541,6 +541,7 @@ SOURCES = \
rmxfguid.h \
rmxftmpl.x \
roapi.h \
+ roerrorapi.h \
roparameterizediid.idl \
row.idl \
rowchg.idl \
diff --git a/include/roerrorapi.h b/include/roerrorapi.h
new file mode 100644
index 0000000000..dd9c7f16ec
--- /dev/null
+++ b/include/roerrorapi.h
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2020 Jacek Caban for CodeWeavers
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#ifndef _ROERROR_H
+#define _ROERROR_H
+
+#include <hstring.h>
+#include <restrictederrorinfo.h>
+#include <rpc.h>
+
+HRESULT WINAPI GetRestrictedErrorInfo(IRestrictedErrorInfo **info);
+BOOL WINAPI RoOriginateLanguageException(HRESULT error, HSTRING message, IUnknown *language_exception);
+
+#endif /* _ROERROR_H */
Module: wine
Branch: oldstable
Commit: ec1cd2e6c762bf878d46d89b95a375e262e92721
URL: https://source.winehq.org/git/wine.git/?a=commit;h=ec1cd2e6c762bf878d46d89b…
Author: Louis Lenders <xerox.xerox2000x(a)gmail.com>
Date: Tue Oct 22 02:54:31 2019 +0000
include: Add restrictederrorinfo.idl.
Signed-off-by: Louis Lenders <xerox.xerox2000x(a)gmail.com>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
(cherry picked from commit a619828053b9d9bd25f03c4ca338c965f06a95bb)
Signed-off-by: Michael Stefaniuc <mstefani(a)winehq.org>
---
include/Makefile.in | 1 +
include/restrictederrorinfo.idl | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 36 insertions(+)
diff --git a/include/Makefile.in b/include/Makefile.in
index fd4707832a..aaadb70dd5 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -535,6 +535,7 @@ SOURCES = \
reason.h \
regstr.h \
restartmanager.h \
+ restrictederrorinfo.idl \
richedit.h \
richole.idl \
rmxfguid.h \
diff --git a/include/restrictederrorinfo.idl b/include/restrictederrorinfo.idl
new file mode 100644
index 0000000000..e444256a04
--- /dev/null
+++ b/include/restrictederrorinfo.idl
@@ -0,0 +1,35 @@
+/*
+ * Copyright 2019 Louis Lenders
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+import "oaidl.idl";
+
+[
+ object,
+ uuid(82ba7092-4c88-427d-a7bc-16dd93feb67e),
+ pointer_default(unique)
+]
+interface IRestrictedErrorInfo : IUnknown
+{
+ HRESULT GetErrorDetails (
+ [out] BSTR *desc,
+ [out] HRESULT *error,
+ [out] BSTR *restricted_desc,
+ [out] BSTR *sid);
+
+ HRESULT GetReference ([out] BSTR *reference);
+}
Module: wine
Branch: oldstable
Commit: b3f5764fb8ce77b11fed32d20a039b6b47e75ce0
URL: https://source.winehq.org/git/wine.git/?a=commit;h=b3f5764fb8ce77b11fed32d2…
Author: Damjan Jovanovic <damjan.jov(a)gmail.com>
Date: Thu Dec 26 14:30:07 2019 +0200
winex11.drv: Ignore .dwAspect in FORMATETC during XDnD.
Some applications pass FORMATETC.dwAspect=0 to
IDataObject_[Query]GetData() during drag and drop, which
is not a valid DVASPECT_* value. Tests show that Windows
Explorer completely ignores .dwAspect for CF_HDROP when
it is the drag source, treating all values as
DVASPECT_CONTENT instead. Do the same.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=43368
Signed-off-by: Damjan Jovanovic <damjan.jov(a)gmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
(cherry picked from commit 523fb9496c7758be9626d3d5b6a07014f867f640)
Signed-off-by: Michael Stefaniuc <mstefani(a)winehq.org>
---
dlls/winex11.drv/xdnd.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/dlls/winex11.drv/xdnd.c b/dlls/winex11.drv/xdnd.c
index 2ab28e43bf..80b367a4bb 100644
--- a/dlls/winex11.drv/xdnd.c
+++ b/dlls/winex11.drv/xdnd.c
@@ -786,11 +786,9 @@ static HRESULT WINAPI XDNDDATAOBJECT_QueryGetData(IDataObject *dataObject,
FIXME("only HGLOBAL medium types supported right now\n");
return DV_E_TYMED;
}
- if (formatEtc->dwAspect != DVASPECT_CONTENT)
- {
- FIXME("only the content aspect is supported right now\n");
- return E_NOTIMPL;
- }
+ /* Windows Explorer ignores .dwAspect and .lindex for CF_HDROP,
+ * and we have no way to implement them on XDnD anyway, so ignore them too.
+ */
LIST_FOR_EACH_ENTRY(current, &xdndData, XDNDDATA, entry)
{