- make sure even GUI users notice a "missing xmessage" problem by
[wine/wine64.git] / dlls / msisys / msisys.c
blobe7ff1681c6630159dc0fbf4c2016c8401d35c18c
1 /*
2 * Stub implementation of MSISYS.OCX to prevent MSINFO32.EXE from crashing.
4 * Copyright 2002 Mike McCormack for Codeweavers
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #include "config.h"
23 #include "windef.h"
24 #include "winerror.h"
25 #include "winbase.h"
26 #include "wingdi.h"
27 #include "winuser.h"
29 #include "wine/debug.h"
31 WINE_DEFAULT_DEBUG_CHANNEL(msisys);
34 /***********************************************************************
35 * MSISYS_InitProcess (internal)
37 static BOOL MSISYS_InitProcess( void )
39 TRACE("()\n");
41 return TRUE;
44 /***********************************************************************
45 * MSISYS_UninitProcess (internal)
47 static void MSISYS_UninitProcess( void )
49 TRACE("()\n");
52 /***********************************************************************
53 * MSISYS_DllMain
55 BOOL WINAPI MSISYS_DllMain(
56 HINSTANCE hInstDLL,
57 DWORD fdwReason,
58 LPVOID lpvReserved )
60 TRACE("(%08x,%08lx,%p)\n",hInstDLL,fdwReason,lpvReserved);
62 switch ( fdwReason )
64 case DLL_PROCESS_ATTACH:
65 if ( !MSISYS_InitProcess() )
66 return FALSE;
67 break;
68 case DLL_PROCESS_DETACH:
69 MSISYS_UninitProcess();
70 break;
71 case DLL_THREAD_ATTACH:
72 break;
73 case DLL_THREAD_DETACH:
74 break;
77 return TRUE;
81 /***********************************************************************
82 * DllCanUnloadNow (MSISYS.@)
84 * RETURNS
85 * Success: S_OK
86 * Failure: S_FALSE
88 HRESULT WINAPI MSISYS_DllCanUnloadNow(void)
90 return S_OK;
93 /***********************************************************************
94 * DllGetClassObject (MSISYS.@)
96 HRESULT WINAPI MSISYS_DllGetClassObject(
97 const CLSID* pclsid,const IID* piid,void** ppv)
99 FIXME("\n");
101 return CLASS_E_CLASSNOTAVAILABLE;
104 /***********************************************************************
105 * DllRegisterServer (MSISYS.@)
108 HRESULT WINAPI MSISYS_DllRegisterServer( void )
110 FIXME( "(): stub\n" );
111 return E_FAIL;
114 /***********************************************************************
115 * DllUnregisterServer (MSISYS.@)
118 HRESULT WINAPI MSISYS_DllUnregisterServer( void )
120 FIXME( "(): stub\n" );
121 return E_FAIL;