[PATCH v9 1/7] include: Add wdscore.h file.

Mohamad Al-Jaf mohamadaljaf at gmail.com
Tue Mar 15 23:58:40 CDT 2022


Signed-off-by: Mohamad Al-Jaf <mohamadaljaf at gmail.com>
---
The functions CurrentIP and ConstructPartialMsgV[A/W] are used
by other Windows libraries including kernelbase.
---
 include/Makefile.in |  1 +
 include/wdscore.h   | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)
 create mode 100644 include/wdscore.h

diff --git a/include/Makefile.in b/include/Makefile.in
index 189b4676091..5b77d5b47c5 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -755,6 +755,7 @@ SOURCES = \
 	wbemdisp.idl \
 	wbemprov.idl \
 	wct.h \
+	wdscore.h \
 	weakreference.idl \
 	webservices.h \
 	werapi.h \
diff --git a/include/wdscore.h b/include/wdscore.h
new file mode 100644
index 00000000000..8888247e347
--- /dev/null
+++ b/include/wdscore.h
@@ -0,0 +1,32 @@
+/*
+ * Copyright 2022 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
+ */
+
+#ifndef __WDSCORE__
+#define __WDSCORE__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+LPVOID CurrentIP(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __WDSCORE__ */
-- 
2.35.1




More information about the wine-devel mailing list