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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #define WIN32_NO_STATUS
28 //#include "winerror.h"
31 //#include "winuser.h"
32 //#include "objbase.h"
34 #include <wine/debug.h>
36 WINE_DEFAULT_DEBUG_CHANNEL(msisys
);
39 /***********************************************************************
40 * MSISYS_InitProcess (internal)
42 static BOOL
MSISYS_InitProcess( void )
49 /***********************************************************************
50 * MSISYS_UninitProcess (internal)
52 static void MSISYS_UninitProcess( void )
57 /***********************************************************************
65 TRACE("(%p,%d,%p)\n",hInstDLL
,fdwReason
,lpvReserved
);
69 case DLL_PROCESS_ATTACH
:
70 DisableThreadLibraryCalls(hInstDLL
);
71 if ( !MSISYS_InitProcess() )
74 case DLL_PROCESS_DETACH
:
75 MSISYS_UninitProcess();
83 /***********************************************************************
84 * DllCanUnloadNow (MSISYS.@)
90 HRESULT WINAPI
DllCanUnloadNow(void)
95 /***********************************************************************
96 * DllGetClassObject (MSISYS.@)
98 HRESULT WINAPI
DllGetClassObject(REFCLSID pclsid
, REFIID piid
, LPVOID
*ppv
)
102 return CLASS_E_CLASSNOTAVAILABLE
;
105 /***********************************************************************
106 * DllRegisterServer (MSISYS.@)
109 HRESULT WINAPI
DllRegisterServer( void )
111 FIXME( "(): stub\n" );
115 /***********************************************************************
116 * DllUnregisterServer (MSISYS.@)
119 HRESULT WINAPI
DllUnregisterServer( void )
121 FIXME( "(): stub\n" );