From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> --- configure.ac | 1 + dlls/thumbcache/Makefile.in | 5 ++++ dlls/thumbcache/thumbcache.c | 33 ++++++++++++++++++++++++ dlls/thumbcache/thumbcache.spec | 4 +++ dlls/thumbcache/thumbcache_reg.idl | 41 ++++++++++++++++++++++++++++++ 5 files changed, 84 insertions(+) create mode 100644 dlls/thumbcache/Makefile.in create mode 100644 dlls/thumbcache/thumbcache.c create mode 100644 dlls/thumbcache/thumbcache.spec create mode 100644 dlls/thumbcache/thumbcache_reg.idl diff --git a/configure.ac b/configure.ac index f963461b799..30c54b0e8df 100644 --- a/configure.ac +++ b/configure.ac @@ -3217,6 +3217,7 @@ WINE_CONFIG_MAKEFILE(dlls/tdh/tests) WINE_CONFIG_MAKEFILE(dlls/tdi.sys) WINE_CONFIG_MAKEFILE(dlls/threadpoolwinrt) WINE_CONFIG_MAKEFILE(dlls/threadpoolwinrt/tests) +WINE_CONFIG_MAKEFILE(dlls/thumbcache) WINE_CONFIG_MAKEFILE(dlls/toolhelp.dll16) WINE_CONFIG_MAKEFILE(dlls/traffic) WINE_CONFIG_MAKEFILE(dlls/twain.dll16) diff --git a/dlls/thumbcache/Makefile.in b/dlls/thumbcache/Makefile.in new file mode 100644 index 00000000000..124c49f34b7 --- /dev/null +++ b/dlls/thumbcache/Makefile.in @@ -0,0 +1,5 @@ +MODULE = thumbcache.dll + +SOURCES = \ + thumbcache.c \ + thumbcache_reg.idl diff --git a/dlls/thumbcache/thumbcache.c b/dlls/thumbcache/thumbcache.c new file mode 100644 index 00000000000..08a2b1b8c2f --- /dev/null +++ b/dlls/thumbcache/thumbcache.c @@ -0,0 +1,33 @@ +/* +* Copyright 2026 Alistair Leslie-Hughes + * + * 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 "oleidl.h" +#include "rpcproxy.h" + +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(thumbcache); + +HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) +{ + FIXME("(%s,%s,%p)\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv); + + return CLASS_E_CLASSNOTAVAILABLE; +} diff --git a/dlls/thumbcache/thumbcache.spec b/dlls/thumbcache/thumbcache.spec new file mode 100644 index 00000000000..b16365d0c9f --- /dev/null +++ b/dlls/thumbcache/thumbcache.spec @@ -0,0 +1,4 @@ +@ stdcall -private DllCanUnloadNow() +@ stdcall -private DllGetClassObject(ptr ptr ptr) +@ stdcall -private DllRegisterServer() +@ stdcall -private DllUnregisterServer() diff --git a/dlls/thumbcache/thumbcache_reg.idl b/dlls/thumbcache/thumbcache_reg.idl new file mode 100644 index 00000000000..4b2ba62261a --- /dev/null +++ b/dlls/thumbcache/thumbcache_reg.idl @@ -0,0 +1,41 @@ +/* + * Copyright 2026 Alistair Leslie-Hughes + * + * 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 + */ + +#pragma makedep register + +import "unknwn.idl"; +import "objidl.idl"; +import "oaidl.idl"; + +[ + uuid(50ef4544-ac9f-4a8e-b21b-8a26180db13f), + threading(both) +] +coclass LocalThumbnailCache +{ + interface IThumbnailCache; +} + +[ + uuid(4db26476-6787-4046-b836-e8412a9e8a27), + threading(both) +] +coclass SharedBitmap +{ + interface ISharedBitmap; +} -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10970