3 * Copyright 2011 Alistair Leslie-Hughes
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
29 #include "wine/unicode.h"
30 #include "wine/debug.h"
31 #include "wine/library.h"
35 WINE_DEFAULT_DEBUG_CHANNEL(mmc);
37 static HINSTANCE MMC_hInstance;
39 HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv)
41 FIXME("(%s, %s, %p): stub\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
48 HRESULT WINAPI DllRegisterServer(void)
50 return __wine_register_resources( MMC_hInstance );
53 HRESULT WINAPI DllUnregisterServer(void)
55 return __wine_unregister_resources( MMC_hInstance );
58 HRESULT WINAPI DllCanUnloadNow(void)
63 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
65 TRACE("(%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
69 case DLL_WINE_PREATTACH:
70 return FALSE; /* prefer native version */
71 case DLL_PROCESS_ATTACH:
72 MMC_hInstance = hinstDLL;
74 case DLL_PROCESS_DETACH: