Commit f6be044d authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Created a stubbed version of MSISYS.OCX.

parent 9f33f5cd
......@@ -1330,6 +1330,7 @@ dlls/msacm/imaadp32/Makefile
dlls/msacm/msg711/Makefile
dlls/msdmo/Makefile
dlls/msimg32/Makefile
dlls/msisys/Makefile
dlls/msnet32/Makefile
dlls/msrle32/Makefile
dlls/msvcrt/Makefile
......
......@@ -42,6 +42,7 @@ SUBDIRS = \
msacm/msg711 \
msdmo \
msimg32 \
msisys \
msnet32 \
msrle32 \
msvcrt \
......@@ -154,6 +155,7 @@ all: \
msdmo.dll$(DLLEXT) \
msg711.drv$(DLLEXT) \
msimg32.dll$(DLLEXT) \
msisys.ocx$(DLLEXT) \
msnet32.dll$(DLLEXT) \
msrle32.dll$(DLLEXT) \
msvcrt.dll$(DLLEXT) \
......@@ -346,6 +348,9 @@ msg711.drv$(DLLEXT): msacm/msg711/msg711.drv$(DLLEXT)
msimg32.dll$(DLLEXT): msimg32/msimg32.dll$(DLLEXT)
$(RM) $@ && $(LN_S) msimg32/msimg32.dll$(DLLEXT) $@
msisys.ocx$(DLLEXT): msisys/msisys.ocx$(DLLEXT)
$(RM) $@ && $(LN_S) msisys/msisys.ocx$(DLLEXT) $@
msnet32.dll$(DLLEXT): msnet32/msnet32.dll$(DLLEXT)
$(RM) $@ && $(LN_S) msnet32/msnet32.dll$(DLLEXT) $@
......@@ -601,6 +606,9 @@ msdmo/msdmo.dll$(DLLEXT): dummy ntdll.dll$(DLLEXT)
msimg32/msimg32.dll$(DLLEXT): dummy ntdll.dll$(DLLEXT)
@cd msimg32 && $(MAKE) msimg32.dll$(DLLEXT)
msisys/msisys.ocx$(DLLEXT): dummy ntdll.dll$(DLLEXT)
@cd msisys && $(MAKE) msisys.ocx$(DLLEXT)
msnet32/msnet32.dll$(DLLEXT): dummy ntdll.dll$(DLLEXT)
@cd msnet32 && $(MAKE) msnet32.dll$(DLLEXT)
......
Makefile
msisys.ocx.spec.c
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = msisys.ocx
EXTRALIBS = $(LIBUUID)
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
C_SRCS = msisys.c
@MAKE_DLL_RULES@
### Dependencies:
/*
* Stub implementation of MSISYS.OCX to prevent MSINFO32.EXE from crashing.
*
* Copyright 2002 Mike McCormack for Codeweavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include "windef.h"
#include "winerror.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(msisys);
/***********************************************************************
* MSISYS_InitProcess (internal)
*/
static BOOL MSISYS_InitProcess( void )
{
TRACE("()\n");
return TRUE;
}
/***********************************************************************
* MSISYS_UninitProcess (internal)
*/
static void MSISYS_UninitProcess( void )
{
TRACE("()\n");
}
/***********************************************************************
* MSISYS_DllMain
*/
BOOL WINAPI MSISYS_DllMain(
HINSTANCE hInstDLL,
DWORD fdwReason,
LPVOID lpvReserved )
{
TRACE("(%08x,%08lx,%p)\n",hInstDLL,fdwReason,lpvReserved);
switch ( fdwReason )
{
case DLL_PROCESS_ATTACH:
if ( !MSISYS_InitProcess() )
return FALSE;
break;
case DLL_PROCESS_DETACH:
MSISYS_UninitProcess();
break;
case DLL_THREAD_ATTACH:
break;
case DLL_THREAD_DETACH:
break;
}
return TRUE;
}
/***********************************************************************
* DllCanUnloadNow (MSISYS.@)
*
* RETURNS
* Success: S_OK
* Failure: S_FALSE
*/
HRESULT WINAPI MSISYS_DllCanUnloadNow(void)
{
return S_OK;
}
/***********************************************************************
* DllGetClassObject (MSISYS.@)
*/
HRESULT WINAPI MSISYS_DllGetClassObject(
const CLSID* pclsid,const IID* piid,void** ppv)
{
FIXME("\n");
return CLASS_E_CLASSNOTAVAILABLE;
}
/***********************************************************************
* DllRegisterServer (MSISYS.@)
*/
HRESULT WINAPI MSISYS_DllRegisterServer( void )
{
FIXME( "(): stub\n" );
return E_FAIL;
}
/***********************************************************************
* DllUnregisterServer (MSISYS.@)
*/
HRESULT WINAPI MSISYS_DllUnregisterServer( void )
{
FIXME( "(): stub\n" );
return E_FAIL;
}
name msisys
file msisys.ocx
type win32
init MSISYS_DllMain
import ntdll.dll
debug_channels (msisys)
@ stdcall DllCanUnloadNow() MSISYS_DllCanUnloadNow
@ stdcall DllGetClassObject(ptr ptr ptr) MSISYS_DllGetClassObject
@ stdcall DllRegisterServer() MSISYS_DllRegisterServer
@ stdcall DllUnregisterServer() MSISYS_DllUnregisterServer
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment