From: Etaash Mathamsetty etaash.mathamsetty@gmail.com
--- dlls/vccorlib140/vccorlib140.spec | 2 +- dlls/wincorlib/Makefile.in | 3 +++ dlls/wincorlib/main.c | 34 +++++++++++++++++++++++++++++++ dlls/wincorlib/wincorlib.spec | 2 +- 4 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 dlls/wincorlib/main.c
diff --git a/dlls/vccorlib140/vccorlib140.spec b/dlls/vccorlib140/vccorlib140.spec index 68ab692f99b..26506da2ff7 100644 --- a/dlls/vccorlib140/vccorlib140.spec +++ b/dlls/vccorlib140/vccorlib140.spec @@ -173,7 +173,7 @@ @ stub ?GetTypeCode@Type@Platform@@SA?AW4TypeCode@2@PE$AAV12@@Z @ stub ?GetWeakReference@Details@Platform@@YAPEAU__abi_IUnknown@@QE$ADVObject@2@@Z @ stub ?InitControlBlock@ControlBlock@Details@Platform@@AEAAXPEAX_N11@Z -@ stub ?InitializeData@Details@Platform@@YAJH@Z +@ stdcall ?InitializeData@Details@Platform@@YAJH@Z(long) wincorlib.?InitializeData@Details@Platform@@YAJH@Z @ stub ?Intersect@Rect@Foundation@Windows@@QEAAXV123@@Z @ stub ?IntersectsWith@Rect@Foundation@Windows@@QEAA_NV123@@Z @ stub ?Invert@Matrix3D@Media3D@Media@Xaml@UI@Windows@@QEAAXXZ diff --git a/dlls/wincorlib/Makefile.in b/dlls/wincorlib/Makefile.in index 61a3bca30b6..f72018546ed 100644 --- a/dlls/wincorlib/Makefile.in +++ b/dlls/wincorlib/Makefile.in @@ -1 +1,4 @@ MODULE = wincorlib.dll + +C_SRCS = \ + main.c diff --git a/dlls/wincorlib/main.c b/dlls/wincorlib/main.c new file mode 100644 index 00000000000..e0c84844e7b --- /dev/null +++ b/dlls/wincorlib/main.c @@ -0,0 +1,34 @@ +/* + * wincorlib implementation + * + * Copyright 2023 Etaash Mathamsetty + * + * 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 <stdarg.h> + +#include "windef.h" +#include "winbase.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(wincorlib); + +long WINAPI platform_details_init_data(int arg) +{ + FIXME("(%d) stub!\n", arg); + return 0; +} diff --git a/dlls/wincorlib/wincorlib.spec b/dlls/wincorlib/wincorlib.spec index c1511d4d8f2..4a94a58c870 100644 --- a/dlls/wincorlib/wincorlib.spec +++ b/dlls/wincorlib/wincorlib.spec @@ -173,7 +173,7 @@ @ stub ?GetTypeCode@Type@Platform@@SA?AW4TypeCode@2@PE$AAV12@@Z @ stub ?GetWeakReference@Details@Platform@@YAPEAU__abi_IUnknown@@QE$ADVObject@2@@Z @ stub ?InitControlBlock@ControlBlock@Details@Platform@@AEAAXPEAX_N11@Z -@ stub ?InitializeData@Details@Platform@@YAJH@Z +@ stdcall ?InitializeData@Details@Platform@@YAJH@Z(long) platform_details_init_data @ stub ?Intersect@Rect@Foundation@Windows@@QEAAXV123@@Z @ stub ?IntersectsWith@Rect@Foundation@Windows@@QEAA_NV123@@Z @ stub ?Invert@Matrix3D@Media3D@Media@Xaml@UI@Windows@@QEAAXXZ