From: Esme Povirk <esme@codeweavers.com> --- dlls/wminet_utils/Makefile.in | 3 +++ dlls/wminet_utils/main.c | 31 +++++++++++++++++++++++++++++ dlls/wminet_utils/wminet_utils.spec | 2 +- 3 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 dlls/wminet_utils/main.c diff --git a/dlls/wminet_utils/Makefile.in b/dlls/wminet_utils/Makefile.in index 3157a076dcf..663265289ae 100644 --- a/dlls/wminet_utils/Makefile.in +++ b/dlls/wminet_utils/Makefile.in @@ -1,3 +1,6 @@ MODULE = wminet_utils.dll EXTRADLLFLAGS = -Wb,--prefer-native + +SOURCES = \ + main.c diff --git a/dlls/wminet_utils/main.c b/dlls/wminet_utils/main.c new file mode 100644 index 00000000000..62a4f04eee7 --- /dev/null +++ b/dlls/wminet_utils/main.c @@ -0,0 +1,31 @@ +/* + * Copyright 2026 Esme Povirk 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 + */ + +#include <stdarg.h> + +#include "windef.h" +#include "winbase.h" + +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(wminet_utils); + +HRESULT WINAPI Initialize(BOOLEAN bAllowIManagementObjectQI) { + TRACE("%i\n", bAllowIManagementObjectQI); + return S_OK; +} diff --git a/dlls/wminet_utils/wminet_utils.spec b/dlls/wminet_utils/wminet_utils.spec index 05ef2970523..f8ea154c5f1 100644 --- a/dlls/wminet_utils/wminet_utils.spec +++ b/dlls/wminet_utils/wminet_utils.spec @@ -33,7 +33,7 @@ @ stub GetPropertyQualifierSet @ stub GetQualifierSet @ stub InheritsFrom -@ stub Initialize +@ stdcall Initialize(long) @ stub Lock @ stub Next @ stub NextMethod -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9958