wineps.drv: PSDRV_CmpColor() and PSDRV_Write{ArrayGet, InitClip, RRectangle}() are...
[wine/multimedia.git] / dlls / inkobj / inkobj.c
blob6191d7eb76de150977d8dab73dff51d277a1a401
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;
23 HINSTANCE INKOBJ_hInstance;
25 /*****************************************************
26 * DllMain (INKOBJ.init)
28 BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved)
30 TRACE("(%p, %d, %p)\n", hinst, reason, reserved);
32 switch(reason)
34 case DLL_WINE_PREATTACH:
35 return FALSE; /* prefer native version */
36 case DLL_PROCESS_ATTACH:
37 DisableThreadLibraryCalls( hinst );
38 INKOBJ_hInstance = hinst;
39 break;
41 return TRUE;
44 /*****************************************************
45 * DllCanUnloadNow (INKOBJ.@)
47 HRESULT WINAPI DllCanUnloadNow(void)
49 return (INKOBJ_refCount != 0)? S_FALSE : S_OK;
52 /*****************************************************
53 * DllGetClassObject [INKOBJ.@]
55 HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv)
57 FIXME("Not implemented. Requested class was:%s\n", debugstr_guid(rclsid));
58 return CLASS_E_CLASSNOTAVAILABLE;
61 /*****************************************************
62 * DllRegisterServer (INKOBJ.@)
64 HRESULT WINAPI DllRegisterServer(void)
66 FIXME("Not implemented.\n");
67 return E_UNEXPECTED; /* unable to register */
70 /*****************************************************
71 * DllUnregisterServer (INKOBJ.@)
73 HRESULT WINAPI DllUnregisterServer(void)
75 FIXME("Not implemented.\n");
76 return E_UNEXPECTED; /* unable to register */