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/uuid/Makefile
dlls/uxtheme/Makefile dlls/uxtheme/Makefile
dlls/vdhcp.vxd/Makefile dlls/vdhcp.vxd/Makefile
dlls/vdmdbg/Makefile
dlls/version/Makefile dlls/version/Makefile
dlls/version/tests/Makefile dlls/version/tests/Makefile
dlls/vmm.vxd/Makefile dlls/vmm.vxd/Makefile

View File

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

View File

@ -220,6 +220,26 @@ BOOL WINAPI EnumDesktopsW( HWINSTA hwinsta, DESKTOPENUMPROCW lpEnumFunc,
return FALSE; 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.@) * SetUserObjectInformationA (USER32.@)
*/ */

View File

@ -438,3 +438,13 @@ INT WINAPI LoadStringA( HINSTANCE instance, UINT resource_id,
return retval; 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 EnumPropsExW(long ptr long)
@ stdcall EnumPropsW(long ptr) @ stdcall EnumPropsW(long ptr)
@ stdcall EnumThreadWindows(long ptr long) @ stdcall EnumThreadWindows(long ptr long)
@ stub EnumWindowStationsA @ stdcall EnumWindowStationsA(ptr long)
@ stub EnumWindowStationsW @ stdcall EnumWindowStationsW(ptr long)
@ stdcall EnumWindows(ptr long) @ stdcall EnumWindows(ptr long)
@ stdcall EqualRect(ptr ptr) @ stdcall EqualRect(ptr ptr)
@ stdcall ExcludeUpdateRgn(long long) @ stdcall ExcludeUpdateRgn(long long)
@ -247,7 +247,7 @@
@ stdcall GetFocus() @ stdcall GetFocus()
@ stdcall GetForegroundWindow() @ stdcall GetForegroundWindow()
@ stdcall GetGUIThreadInfo(long ptr) @ stdcall GetGUIThreadInfo(long ptr)
# @ stub GetGuiResources @ stdcall GetGuiResources(long long)
@ stdcall GetIconInfo(long ptr) @ stdcall GetIconInfo(long ptr)
@ stub GetInputDesktop @ stub GetInputDesktop
@ stdcall GetInputState() @ stdcall GetInputState()
@ -402,6 +402,7 @@
@ stdcall LoadStringW(long long ptr long) @ stdcall LoadStringW(long long ptr long)
@ stub LockWindowStation @ stub LockWindowStation
@ stdcall LockWindowUpdate(long) @ stdcall LockWindowUpdate(long)
@ stub LockWorkStation
@ stdcall LookupIconIdFromDirectory(ptr long) @ stdcall LookupIconIdFromDirectory(ptr long)
@ stdcall LookupIconIdFromDirectoryEx(ptr long long long long) @ stdcall LookupIconIdFromDirectoryEx(ptr long long long long)
@ stub MBToWCSEx @ 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