Stubs to prevent taskmgr.exe from crashing or aborting during

startup.
This commit is contained in:
Sami Aario 2004-04-07 19:41:21 +00:00 committed by Alexandre Julliard
parent fe5a3a24c7
commit 78f1224fd9
10 changed files with 88 additions and 4 deletions

3
configure vendored

File diff suppressed because one or more lines are too long

View File

@ -1623,6 +1623,7 @@ dlls/user/tests/Makefile
dlls/uuid/Makefile
dlls/uxtheme/Makefile
dlls/vdhcp.vxd/Makefile
dlls/vdmdbg/Makefile
dlls/version/Makefile
dlls/version/tests/Makefile
dlls/vmm.vxd/Makefile

View File

@ -118,6 +118,7 @@ BASEDIRS = \
user \
uxtheme \
vdhcp.vxd \
vdmdbg \
version \
vmm.vxd \
vnbt.vxd \
@ -342,6 +343,7 @@ SYMLINKS_SO = \
user32.dll.so \
uxtheme.dll.so \
vdhcp.vxd.so \
vdmdbg.dll.so \
version.dll.so \
vmm.vxd.so \
vnbt.vxd.so \
@ -786,6 +788,9 @@ uxtheme.dll.so: uxtheme/uxtheme.dll.so
vdhcp.vxd.so: vdhcp.vxd/vdhcp.vxd.so
$(RM) $@ && $(LN_S) vdhcp.vxd/vdhcp.vxd.so $@
vdmdbg.dll.so: vdmdbg/vdmdbg.dll.so
$(RM) $@ && $(LN_S) vdmdbg/vdmdbg.dll.so $@
version.dll.so: version/version.dll.so
$(RM) $@ && $(LN_S) version/version.dll.so $@
@ -1013,6 +1018,7 @@ IMPORT_LIBS = \
liburlmon \
libuser32 \
libuxtheme \
libvdmdbg \
libversion \
libw32skrnl \
libwined3d \
@ -1539,6 +1545,11 @@ libuxtheme.def: uxtheme/uxtheme.spec.def
libuxtheme.a: uxtheme/uxtheme.spec.def
$(DLLTOOL) -k -l $@ -d uxtheme/uxtheme.spec.def
libvdmdbg.def: vdmdbg/vdmdbg.spec.def
$(RM) $@ && $(LN_S) vdmdbg/vdmdbg.spec.def $@
libvdmdbg.a: vdmdbg/vdmdbg.spec.def
$(DLLTOOL) -k -l $@ -d vdmdbg/vdmdbg.spec.def
libversion.def: version/version.spec.def
$(RM) $@ && $(LN_S) version/version.spec.def $@
libversion.a: version/version.spec.def
@ -1719,6 +1730,7 @@ url/url.spec.def: $(WINEBUILD)
urlmon/urlmon.spec.def: $(WINEBUILD)
user/user32.spec.def: $(WINEBUILD)
uxtheme/uxtheme.spec.def: $(WINEBUILD)
vdmdbg/vdmdbg.spec.def: $(WINEBUILD)
version/version.spec.def: $(WINEBUILD)
win32s/w32skrnl.spec.def: $(WINEBUILD)
wined3d/wined3d.spec.def: $(WINEBUILD)
@ -1857,6 +1869,7 @@ urlmon/urlmon.dll.so: urlmon
user/user32.dll.so: user
uxtheme/uxtheme.dll.so: uxtheme
vdhcp.vxd/vdhcp.vxd.so: vdhcp.vxd
vdmdbg/vdmdbg.dll.so: vdmdbg
version/version.dll.so: version
vmm.vxd/vmm.vxd.so: vmm.vxd
vnbt.vxd/vnbt.vxd.so: vnbt.vxd

View File

@ -220,6 +220,26 @@ BOOL WINAPI EnumDesktopsW( HWINSTA hwinsta, DESKTOPENUMPROCW lpEnumFunc,
return FALSE;
}
/******************************************************************************
* EnumWindowStationsA [USER32.@]
*/
BOOL WINAPI EnumWindowStationsA( WINSTAENUMPROCA lpEnumFunc, LPARAM lParam)
{
FIXME("%p,%lx): stub\n",lpEnumFunc,lParam);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/******************************************************************************
* EnumWindowStationsW [USER32.@]
*/
BOOL WINAPI EnumWindowStationsW( WINSTAENUMPROCW lpEnumFunc, LPARAM lParam)
{
FIXME("%p,%lx): stub\n",lpEnumFunc,lParam);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/******************************************************************************
* SetUserObjectInformationA (USER32.@)
*/

View File

@ -438,3 +438,13 @@ INT WINAPI LoadStringA( HINSTANCE instance, UINT resource_id,
return retval;
}
/**********************************************************************
* GetGuiResources (USER32.@)
*/
DWORD WINAPI GetGuiResources( HANDLE hProcess, DWORD uiFlags )
{
FIXME("(%p,%lx): stub\n",hProcess,uiFlags);
SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
return 0;
}

View File

@ -193,8 +193,8 @@
@ stdcall EnumPropsExW(long ptr long)
@ stdcall EnumPropsW(long ptr)
@ stdcall EnumThreadWindows(long ptr long)
@ stub EnumWindowStationsA
@ stub EnumWindowStationsW
@ stdcall EnumWindowStationsA(ptr long)
@ stdcall EnumWindowStationsW(ptr long)
@ stdcall EnumWindows(ptr long)
@ stdcall EqualRect(ptr ptr)
@ stdcall ExcludeUpdateRgn(long long)
@ -247,7 +247,7 @@
@ stdcall GetFocus()
@ stdcall GetForegroundWindow()
@ stdcall GetGUIThreadInfo(long ptr)
# @ stub GetGuiResources
@ stdcall GetGuiResources(long long)
@ stdcall GetIconInfo(long ptr)
@ stub GetInputDesktop
@ stdcall GetInputState()
@ -402,6 +402,7 @@
@ stdcall LoadStringW(long long ptr long)
@ stub LockWindowStation
@ stdcall LockWindowUpdate(long)
@ stub LockWorkStation
@ stdcall LookupIconIdFromDirectory(ptr long)
@ stdcall LookupIconIdFromDirectoryEx(ptr long long long long)
@ stub MBToWCSEx

3
dlls/vdmdbg/.cvsignore Normal file
View File

@ -0,0 +1,3 @@
Makefile
vdmdbg.dll.dbg.c
vdmdbg.spec.def

13
dlls/vdmdbg/Makefile.in Normal file
View File

@ -0,0 +1,13 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = vdmdbg.dll
IMPORTS = kernel32
C_SRCS = \
vdmdbg.c
@MAKE_DLL_RULES@
### Dependencies:

1
dlls/vdmdbg/vdmdbg.c Normal file
View File

@ -0,0 +1 @@
/* nothing here yet */

21
dlls/vdmdbg/vdmdbg.spec Normal file
View File

@ -0,0 +1,21 @@
# vdmdbg.dll - VDM debugging support library
@ stub VDMBreakThread
@ stub VDMDetectWOW
@ stub VDMEnumProcessWOW
@ stub VDMEnumTaskWOW
@ stub VDMEnumTaskWOWEx
@ stub VDMGetModuleSelector
@ stub VDMGetPointer
@ stub VDMGetSelectorModule
@ stub VDMGetThreadContext
@ stub VDMGetThreadSelectorEntry
@ stub VDMGlobalFirst
@ stub VDMGlobalNext
@ stub VDMKillWOW
@ stub VDMModuleFirst
@ stub VDMModuleNext
@ stub VDMProcessException
@ stub VDMSetThreadContext
@ stub VDMStartTaskInWOW
@ stub VDMTerminateTaskWOW