From: Hans Leidekker hans@codeweavers.com
--- configure.ac | 1 + dlls/wofutil/Makefile.in | 1 + dlls/wofutil/wofutil.spec | 11 +++++++++++ 3 files changed, 13 insertions(+) create mode 100644 dlls/wofutil/Makefile.in create mode 100644 dlls/wofutil/wofutil.spec
diff --git a/configure.ac b/configure.ac index 7b3734bd2e9..9115244cb78 100644 --- a/configure.ac +++ b/configure.ac @@ -3197,6 +3197,7 @@ WINE_CONFIG_MAKEFILE(dlls/wmphoto) WINE_CONFIG_MAKEFILE(dlls/wmvcore) WINE_CONFIG_MAKEFILE(dlls/wmvcore/tests) WINE_CONFIG_MAKEFILE(dlls/wnaspi32) +WINE_CONFIG_MAKEFILE(dlls/wofutil) WINE_CONFIG_MAKEFILE(dlls/wow32,enable_win16) WINE_CONFIG_MAKEFILE(dlls/wow64) WINE_CONFIG_MAKEFILE(dlls/wow64cpu) diff --git a/dlls/wofutil/Makefile.in b/dlls/wofutil/Makefile.in new file mode 100644 index 00000000000..387a4264349 --- /dev/null +++ b/dlls/wofutil/Makefile.in @@ -0,0 +1 @@ +MODULE = wofutil.dll diff --git a/dlls/wofutil/wofutil.spec b/dlls/wofutil/wofutil.spec new file mode 100644 index 00000000000..60168790731 --- /dev/null +++ b/dlls/wofutil/wofutil.spec @@ -0,0 +1,11 @@ +@ stub WofEnumEntries +@ stub WofFileEnumFiles +@ stub WofGetDriverVersion +@ stub WofIsExternalFile +@ stub WofSetFileDataLocation +@ stub WofShouldCompressBinaries +@ stub WofWimAddEntry +@ stub WofWimEnumFiles +@ stub WofWimRemoveEntry +@ stub WofWimSuspendEntry +@ stub WofWimUpdateEntry
From: Hans Leidekker hans@codeweavers.com
--- dlls/wofutil/Makefile.in | 3 +++ dlls/wofutil/main.c | 30 ++++++++++++++++++++++++++++++ dlls/wofutil/wofutil.spec | 2 +- include/Makefile.in | 1 + include/wofapi.h | 19 +++++++++++++++++++ 5 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 dlls/wofutil/main.c create mode 100644 include/wofapi.h
diff --git a/dlls/wofutil/Makefile.in b/dlls/wofutil/Makefile.in index 387a4264349..479dea651bc 100644 --- a/dlls/wofutil/Makefile.in +++ b/dlls/wofutil/Makefile.in @@ -1 +1,4 @@ MODULE = wofutil.dll + +C_SRCS = \ + main.c diff --git a/dlls/wofutil/main.c b/dlls/wofutil/main.c new file mode 100644 index 00000000000..1866aed7c69 --- /dev/null +++ b/dlls/wofutil/main.c @@ -0,0 +1,30 @@ +/* + * Copyright 2022 Hans Leidekker 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 "wofapi.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(wofutil); + +BOOL WINAPI WofShouldCompressBinaries( const WCHAR *volume, ULONG *alg ) +{ + FIXME( "%s, %p\n", debugstr_w(volume), alg ); + return FALSE; +} diff --git a/dlls/wofutil/wofutil.spec b/dlls/wofutil/wofutil.spec index 60168790731..73f11c4f885 100644 --- a/dlls/wofutil/wofutil.spec +++ b/dlls/wofutil/wofutil.spec @@ -3,7 +3,7 @@ @ stub WofGetDriverVersion @ stub WofIsExternalFile @ stub WofSetFileDataLocation -@ stub WofShouldCompressBinaries +@ stdcall WofShouldCompressBinaries(wstr ptr) @ stub WofWimAddEntry @ stub WofWimEnumFiles @ stub WofWimRemoveEntry diff --git a/include/Makefile.in b/include/Makefile.in index 27c06a30906..6e54f8d194d 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -916,6 +916,7 @@ SOURCES = \ wmsdkidl.idl \ wmsecure.idl \ wnaspi32.h \ + wofapi.h \ wownt16.h \ wownt32.h \ wpcapi.idl \ diff --git a/include/wofapi.h b/include/wofapi.h new file mode 100644 index 00000000000..8d678dc2d08 --- /dev/null +++ b/include/wofapi.h @@ -0,0 +1,19 @@ +/* + * Copyright 2022 Hans Leidekker 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 + */ + +BOOL WINAPI WofShouldCompressBinaries(const WCHAR *, ULONG *);