From 7aba9a4f6bb5082707a8039dcd012282eddd7c23 Mon Sep 17 00:00:00 2001 From: Daniel Lehman Date: Thu, 29 Jul 2010 15:54:14 -0700 Subject: atl90: add atl90 stub dll --- configure | 1 + configure.ac | 1 + dlls/atl90/Makefile.in | 12 +++++++++++ dlls/atl90/atl90.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++ dlls/atl90/main.c | 43 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 109 insertions(+), 0 deletions(-) create mode 100644 dlls/atl90/Makefile.in create mode 100644 dlls/atl90/atl90.spec create mode 100644 dlls/atl90/main.c diff --git a/configure b/configure index 09b5cb4..c0a5235 100755 --- a/configure +++ b/configure @@ -14882,6 +14882,7 @@ wine_fn_config_dll apphelp enable_apphelp wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po wine_fn_config_dll atl enable_atl implib wine_fn_config_test dlls/atl/tests atl_test +wine_fn_config_dll atl90 enable_atl90 implib wine_fn_config_dll authz enable_authz wine_fn_config_dll avicap32 enable_avicap32 implib wine_fn_config_dll avifil32 enable_avifil32 implib,po diff --git a/configure.ac b/configure.ac index 279339c..55f08be 100644 --- a/configure.ac +++ b/configure.ac @@ -2391,6 +2391,7 @@ WINE_CONFIG_DLL(apphelp) WINE_CONFIG_DLL(appwiz.cpl,,[po]) WINE_CONFIG_DLL(atl,,[implib]) WINE_CONFIG_TEST(dlls/atl/tests) +WINE_CONFIG_DLL(atl90,,[implib]) WINE_CONFIG_DLL(authz) WINE_CONFIG_DLL(avicap32,,[implib]) WINE_CONFIG_DLL(avifil32,,[implib,po]) diff --git a/dlls/atl90/Makefile.in b/dlls/atl90/Makefile.in new file mode 100644 index 0000000..c68bfba --- /dev/null +++ b/dlls/atl90/Makefile.in @@ -0,0 +1,12 @@ +TOPSRCDIR = @top_srcdir@ +TOPOBJDIR = ../.. +SRCDIR = @srcdir@ +VPATH = @srcdir@ +MODULE = atl90.dll +IMPORTS = kernel32 + +C_SRCS = \ + main.c + +@MAKE_DLL_RULES@ + diff --git a/dlls/atl90/atl90.spec b/dlls/atl90/atl90.spec new file mode 100644 index 0000000..f09c594 --- /dev/null +++ b/dlls/atl90/atl90.spec @@ -0,0 +1,52 @@ +10 stub AtlAdvise +11 stub AtlUnadvise +12 stub AtlFreeMarshalStream +13 stub AtlMarshalPtrInProc +14 stub AtlUnmarshalPtr +15 stub AtlComModuleGetClassObject +17 stub AtlComModuleRegisterClassObjects +20 stub AtlComModuleRevokeClassObjects +22 stub AtlComModuleUnregisterServer +23 stub AtlUpdateRegistryFromResourceD +24 stub AtlWaitWithMessageLoop +25 stub AtlSetErrorInfo +26 stub AtlCreateTargetDC +27 stub AtlHiMetricToPixel +28 stub AtlPixelToHiMetric +29 stub AtlDevModeW2A +30 stub AtlComPtrAssign +31 stub AtlComQIPtrAssign +32 stub AtlInternalQueryInterface +34 stub AtlGetVersion +35 stub AtlAxDialogBoxW +36 stub AtlAxDialogBoxA +37 stub AtlAxCreateDialogW +38 stub AtlAxCreateDialogA +39 stub AtlAxCreateControl +40 stub AtlAxCreateControlEx +41 stub AtlAxAttachControl +42 stub AtlAxWinInit +43 stub AtlWinModuleAddCreateWndData +44 stub AtlWinModuleExtractCreateWndData +45 stub AtlWinModuleRegisterWndClassInfoW +46 stub AtlWinModuleRegisterWndClassInfoA +47 stub AtlAxGetControl +48 stub AtlAxGetHost +49 stub AtlRegisterClassCategoriesHelper +50 stub AtlIPersistStreamInit_Load +51 stub AtlIPersistStreamInit_Save +52 stub AtlIPersistPropertyBag_Load +53 stub AtlIPersistPropertyBag_Save +54 stub AtlGetObjectSourceInterface +56 stub AtlLoadTypeLib +58 stub AtlModuleAddTermFunc +59 stub AtlAxCreateControlLic +60 stub AtlAxCreateControlLicEx +61 stub AtlCreateRegistrar +62 stub AtlWinModuleRegisterClassExW +63 stub AtlWinModuleRegisterClassExA +64 stub AtlCallTermFunc +65 stub AtlWinModuleInit +66 stub AtlWinModuleTerm +67 stub AtlSetPerUserRegistration +68 stub AtlGetPerUserRegistration diff --git a/dlls/atl90/main.c b/dlls/atl90/main.c new file mode 100644 index 0000000..0512ded --- /dev/null +++ b/dlls/atl90/main.c @@ -0,0 +1,43 @@ +/* + * 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 "config.h" + +#include + +#include "windef.h" +#include "winbase.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(atl90); + +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +{ + TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); + + switch (fdwReason) + { + case DLL_WINE_PREATTACH: + return FALSE; /* prefer native version */ + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls(hinstDLL); + break; + case DLL_PROCESS_DETACH: + break; + } + + return TRUE; +} -- 1.6.0.4