Module: wine
Branch: master
Commit: 3c4c935f6423b97b70dc3a06edc31cdd86521293
URL: https://gitlab.winehq.org/wine/wine/-/commit/3c4c935f6423b97b70dc3a06edc31c…
Author: Mohamad Al-Jaf <mohamadaljaf(a)gmail.com>
Date: Fri Aug 11 20:51:49 2023 -0400
include: Add dxcore.h file.
---
include/Makefile.in | 1 +
include/dxcore.h | 29 +++++++++++++++++++++++++++++
2 files changed, 30 insertions(+)
diff --git a/include/Makefile.in b/include/Makefile.in
index 1adad2785b4..c0f2e873837 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -282,6 +282,7 @@ SOURCES = \
dwrite_1.idl \
dwrite_2.idl \
dwrite_3.idl \
+ dxcore.h \
dxcore_interface.h \
dxdiag.h \
dxerr8.h \
diff --git a/include/dxcore.h b/include/dxcore.h
new file mode 100644
index 00000000000..89257efc4e8
--- /dev/null
+++ b/include/dxcore.h
@@ -0,0 +1,29 @@
+/*
+ * Copyright (C) 2023 Mohamad Al-Jaf
+ *
+ * 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
+ */
+
+#include "dxcore_interface.h"
+
+STDAPI DXCoreCreateAdapterFactory(REFIID,void **);
+
+#ifdef __cplusplus
+template <class T>
+HRESULT DXCoreCreateAdapterFactory(T **ppv)
+{
+ return DXCoreCreateAdapterFactory(IID_PPV_ARGS(ppv));
+}
+#endif
Module: wine
Branch: master
Commit: 3957f937fcb4c70079e0b09a4ac457937c3cf65f
URL: https://gitlab.winehq.org/wine/wine/-/commit/3957f937fcb4c70079e0b09a4ac457…
Author: Lorenzo Ferrillo <lorenzofersteam(a)live.it>
Date: Fri Aug 25 23:45:39 2023 +0200
secur32: Increment iteration index after load_package error.
Otherwise if a package fail to load the routine is stuck in a
continuous loop trying to load the package, resulting in a loader
deadlock.
Restore the behaviour before commit 021547cabcb811c38060a2f7e675c25d26f16d3d.
Signed-off-by: Lorenzo Ferrillo <lorenzofersteam(a)live.it>
---
dlls/secur32/lsa.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/secur32/lsa.c b/dlls/secur32/lsa.c
index a9ca8b60283..9bcf0bf7152 100644
--- a/dlls/secur32/lsa.c
+++ b/dlls/secur32/lsa.c
@@ -967,10 +967,9 @@ void load_auth_packages(void)
if (err != ERROR_SUCCESS)
continue;
- if (!load_package(name, &package, i + 1))
- continue;
+ if (load_package(name, &package, i + 1))
+ add_package(&package);
- add_package(&package);
i++;
}