wineandroid: Create the top-level view on desktop window creation.
[wine.git] / dlls / inkobj / inkobj.c
blobf199f567929d7e56f13940d30a26d67ad3b0e548
1 /* Copyright (C) 2007 C John Klehm
3 * This library is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Lesser General Public
5 * License as published by the Free Software Foundation; either
6 * version 2.1 of the License, or (at your option) any later version.
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
13 * You should have received a copy of the GNU Lesser General Public
14 * License along with this library; if not, write to the Free Software
15 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18 #include "inkobj_internal.h"
20 WINE_DEFAULT_DEBUG_CHANNEL(inkobj);
22 static LONG INKOBJ_refCount;
24 /*****************************************************
25 * DllMain (INKOBJ.init)
27 BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved)
29 TRACE("(%p, %d, %p)\n", hinst, reason, reserved);
31 switch(reason)
33 case DLL_WINE_PREATTACH:
34 return FALSE; /* prefer native version */
35 case DLL_PROCESS_ATTACH:
36 DisableThreadLibraryCalls( hinst );
37 break;
39 return TRUE;
42 /*****************************************************
43 * DllCanUnloadNow (INKOBJ.@)
45 HRESULT WINAPI DllCanUnloadNow(void)
47 return (INKOBJ_refCount != 0)? S_FALSE : S_OK;
50 /*****************************************************
51 * DllGetClassObject [INKOBJ.@]
53 HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv)
55 FIXME("Not implemented. Requested class was:%s\n", debugstr_guid(rclsid));
56 return CLASS_E_CLASSNOTAVAILABLE;
59 /*****************************************************
60 * DllRegisterServer (INKOBJ.@)
62 HRESULT WINAPI DllRegisterServer(void)
64 FIXME("Not implemented.\n");
65 return E_UNEXPECTED; /* unable to register */
68 /*****************************************************
69 * DllUnregisterServer (INKOBJ.@)
71 HRESULT WINAPI DllUnregisterServer(void)
73 FIXME("Not implemented.\n");
74 return E_UNEXPECTED; /* unable to register */