Remove remnants of the old code.
[wine/multimedia.git] / dlls / msisys / msisys.c
blob85e27559092eeb38cc87b63a54f1a9c21929e5b2
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 * DllMain for MSISYS
55 BOOL WINAPI DllMain(
56 HINSTANCE hInstDLL,
57 DWORD fdwReason,
58 LPVOID lpvReserved )
60 TRACE("(%p,%08lx,%p)\n",hInstDLL,fdwReason,lpvReserved);
62 switch ( fdwReason )
64 case DLL_PROCESS_ATTACH:
65 DisableThreadLibraryCalls(hInstDLL);
66 if ( !MSISYS_InitProcess() )
67 return FALSE;
68 break;
69 case DLL_PROCESS_DETACH:
70 MSISYS_UninitProcess();
71 break;
74 return TRUE;
78 /***********************************************************************
79 * DllCanUnloadNow (MSISYS.@)
81 * RETURNS
82 * Success: S_OK
83 * Failure: S_FALSE
85 HRESULT WINAPI MSISYS_DllCanUnloadNow(void)
87 return S_OK;
90 /***********************************************************************
91 * DllGetClassObject (MSISYS.@)
93 HRESULT WINAPI MSISYS_DllGetClassObject(
94 const CLSID* pclsid,const IID* piid,void** ppv)
96 FIXME("\n");
98 return CLASS_E_CLASSNOTAVAILABLE;
101 /***********************************************************************
102 * DllRegisterServer (MSISYS.@)
105 HRESULT WINAPI MSISYS_DllRegisterServer( void )
107 FIXME( "(): stub\n" );
108 return E_FAIL;
111 /***********************************************************************
112 * DllUnregisterServer (MSISYS.@)
115 HRESULT WINAPI MSISYS_DllUnregisterServer( void )
117 FIXME( "(): stub\n" );
118 return E_FAIL;