Module: wine Branch: master Commit: 3fe02210a9764120facba7f3be1146233359f803 URL: https://source.winehq.org/git/wine.git/?a=commit;h=3fe02210a9764120facba7f3b...
Author: Jacek Caban jacek@codeweavers.com Date: Mon Feb 18 22:06:04 2019 +0100
atlthunk: Add stub DLL.
Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
configure | 2 ++ configure.ac | 1 + dlls/atlthunk/Makefile.in | 5 +++++ dlls/atlthunk/atlthunk.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ dlls/atlthunk/atlthunk.spec | 4 ++++ 5 files changed, 57 insertions(+)
diff --git a/configure b/configure index ac22582..b86e260 100755 --- a/configure +++ b/configure @@ -1119,6 +1119,7 @@ enable_atl100 enable_atl110 enable_atl80 enable_atl90 +enable_atlthunk enable_atmlib enable_authz enable_avicap32 @@ -19357,6 +19358,7 @@ wine_fn_config_makefile dlls/atl110 enable_atl110 wine_fn_config_makefile dlls/atl80 enable_atl80 wine_fn_config_makefile dlls/atl80/tests enable_tests wine_fn_config_makefile dlls/atl90 enable_atl90 +wine_fn_config_makefile dlls/atlthunk enable_atlthunk wine_fn_config_makefile dlls/atmlib enable_atmlib wine_fn_config_makefile dlls/authz enable_authz wine_fn_config_makefile dlls/avicap32 enable_avicap32 diff --git a/configure.ac b/configure.ac index e468966..da14848 100644 --- a/configure.ac +++ b/configure.ac @@ -3093,6 +3093,7 @@ WINE_CONFIG_MAKEFILE(dlls/atl110) WINE_CONFIG_MAKEFILE(dlls/atl80) WINE_CONFIG_MAKEFILE(dlls/atl80/tests) WINE_CONFIG_MAKEFILE(dlls/atl90) +WINE_CONFIG_MAKEFILE(dlls/atlthunk) WINE_CONFIG_MAKEFILE(dlls/atmlib) WINE_CONFIG_MAKEFILE(dlls/authz) WINE_CONFIG_MAKEFILE(dlls/avicap32) diff --git a/dlls/atlthunk/Makefile.in b/dlls/atlthunk/Makefile.in new file mode 100644 index 0000000..1adeedf --- /dev/null +++ b/dlls/atlthunk/Makefile.in @@ -0,0 +1,5 @@ +MODULE = atlthunk.dll +IMPORTLIB = atlthunk + +C_SRCS = \ + atlthunk.c diff --git a/dlls/atlthunk/atlthunk.c b/dlls/atlthunk/atlthunk.c new file mode 100644 index 0000000..79d0432 --- /dev/null +++ b/dlls/atlthunk/atlthunk.c @@ -0,0 +1,45 @@ +/* + * Copyright 2019 Jacek Caban 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 "windows.h" +#include "atlthunk.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(atlthunk); + +AtlThunkData_t* WINAPI AtlThunk_AllocateData(void) +{ + FIXME("\n"); + return NULL; +} + +WNDPROC WINAPI AtlThunk_DataToCode(AtlThunkData_t *thunk) +{ + FIXME("(%p)\n", thunk); + return NULL; +} + +void WINAPI AtlThunk_FreeData(AtlThunkData_t *thunk) +{ + FIXME("(%p)\n", thunk); +} + +void WINAPI AtlThunk_InitData(AtlThunkData_t *thunk, void *proc, SIZE_T arg) +{ + FIXME("(%p %p %lx)\n", thunk, proc, arg); +} diff --git a/dlls/atlthunk/atlthunk.spec b/dlls/atlthunk/atlthunk.spec new file mode 100644 index 0000000..25516a8 --- /dev/null +++ b/dlls/atlthunk/atlthunk.spec @@ -0,0 +1,4 @@ +@ stdcall AtlThunk_AllocateData() +@ stdcall AtlThunk_DataToCode(ptr) +@ stdcall AtlThunk_FreeData(ptr) +@ stdcall AtlThunk_InitData(ptr ptr long)