[ros-diffs] [blight] 18405: vdmdbg.dll (stubs only) by Christoph
v.W. - thanks!
blight at svn.reactos.com
blight at svn.reactos.com
Tue Oct 11 02:58:49 CEST 2005
vdmdbg.dll (stubs only) by Christoph v.W. - thanks!
Modified: trunk/reactos/baseaddress.xml
Modified: trunk/reactos/lib/directory.xml
Added: trunk/reactos/lib/vdmdbg/
Added: trunk/reactos/lib/vdmdbg/vdmdbg.c
Added: trunk/reactos/lib/vdmdbg/vdmdbg.def
Added: trunk/reactos/lib/vdmdbg/vdmdbg.h
Added: trunk/reactos/lib/vdmdbg/vdmdbg.xml
_____
Modified: trunk/reactos/baseaddress.xml
--- trunk/reactos/baseaddress.xml 2005-10-10 22:42:13 UTC (rev
18404)
+++ trunk/reactos/baseaddress.xml 2005-10-11 00:58:45 UTC (rev
18405)
@@ -3,6 +3,7 @@
<property name="BASEADDRESS_NOTIFYHOOK" value="0x08000000" />
<property name="BASEADDRESS_DEVENUM" value="0x35680000" />
<property name="BASEADDRESS_UXTHEME" value="0x5AD70000" />
+<property name="BASEADDRESS_VDMDBG" value="0x5B0D0000" />
<property name="BASEADDRESS_OBJSEL" value="0x5B400000" />
<property name="BASEADDRESS_DINPUT" value="0x5F580000" />
<property name="BASEADDRESS_HDWWIZ" value="0x64D40000" />
_____
Modified: trunk/reactos/lib/directory.xml
--- trunk/reactos/lib/directory.xml 2005-10-10 22:42:13 UTC (rev
18404)
+++ trunk/reactos/lib/directory.xml 2005-10-11 00:58:45 UTC (rev
18405)
@@ -189,7 +189,7 @@
<xi:include href="oleaut32/oleaut32.xml" />
</directory>
<directory name="oledlg">
- <xi:include href="oledlg/oledlg.xml" />
+ <xi:include href="oledlg/oledlg.xml" />
</directory>
<directory name="olepro32">
<xi:include href="olepro32/olepro32.xml" />
@@ -281,6 +281,9 @@
<directory name="uxtheme">
<xi:include href="uxtheme/uxtheme.xml" />
</directory>
+<directory name="vdmdbg">
+ <xi:include href="vdmdbg/vdmdbg.xml" />
+</directory>
<directory name="version">
<xi:include href="version/version.xml" />
</directory>
_____
Added: trunk/reactos/lib/vdmdbg/vdmdbg.c
--- trunk/reactos/lib/vdmdbg/vdmdbg.c 2005-10-10 22:42:13 UTC (rev
18404)
+++ trunk/reactos/lib/vdmdbg/vdmdbg.c 2005-10-11 00:58:45 UTC (rev
18405)
@@ -0,0 +1,64 @@
+#include <vdmdbg.h>
+
+#define NDEBUG
+#include <debug.h>
+
+HINSTANCE hDllInstance;
+
+BOOL WINAPI VDMBreakThread( HANDLE hProcess,
+ HANDLE hThread )
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL WINAPI VDMDetectWOW( void )
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+INT WINAPI VDMEnumProcessWOW( PROCESSENUMPROC fp,
+ LPARAM lparam )
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+
+INT WINAPI VDMEnumTaskWOWEx( DWORD dwProcessId,
+ TASKENUMPROCEX fp,
+ LPARAM lparam )
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+BOOL WINAPI VDMTerminateTaskWOW( DWORD dwProcessId,
+ WORD htask )
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL STDCALL
+DllMain(IN HINSTANCE hinstDLL,
+ IN DWORD dwReason,
+ IN LPVOID lpvReserved)
+{
+ switch (dwReason)
+ {
+ case DLL_PROCESS_ATTACH:
+ hDllInstance = hinstDLL;
+ DisableThreadLibraryCalls(hDllInstance);
+ /* Don't break, initialize first thread */
+ case DLL_THREAD_ATTACH:
+ break;
+ case DLL_THREAD_DETACH:
+ break;
+ case DLL_PROCESS_DETACH:
+ break;
+ }
+ return TRUE;
+}
+
_____
Added: trunk/reactos/lib/vdmdbg/vdmdbg.def
--- trunk/reactos/lib/vdmdbg/vdmdbg.def 2005-10-10 22:42:13 UTC (rev
18404)
+++ trunk/reactos/lib/vdmdbg/vdmdbg.def 2005-10-11 00:58:45 UTC (rev
18405)
@@ -0,0 +1,56 @@
+;
+; vdmdbg.def
+;
+; Exports for VDMDBG DLL
+;
+; Copyright (C) 1998 Free Software Foundation, Inc.
+; Created by J.J. van der Heijden
<J.J.vanderHeijden at student.utwente.nl>
+;
+; This file is part of the Windows32 API Library.
+; Based on the November 1997 Platform SDK
+;
+; This library is free software; you can redistribute it and/or
+; modify it under the terms of the GNU Library General Public
+; License as published by the Free Software Foundation; either
+; version 2 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
+; Library General Public License for more details.
+;
+; You should have received a copy of the GNU Library General Public
+; License along with this library; see the file COPYING.LIB.
+; If not, write to the Free Software Foundation,
+; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+;
+LIBRARY VDMDBG
+EXPORTS
+VDMBreakThread at 8
+VDMDetectWOW at 0
+VDMEnumProcessWOW at 8
+;VDMEnumTaskWOW at 12
+VDMEnumTaskWOWEx at 12
+;VDMGetAddrExpression at 20
+;VDMGetContext at 12
+;VDMGetDbgFlags at 4
+;VDMGetModuleSelector at 20
+;VDMGetPointer at 20
+;VDMGetSegmentInfo at 16
+;VDMGetSegtablePointer at 0
+;VDMGetSelectorModule at 32
+;VDMGetSymbol at 28
+;VDMGetThreadContext at 8
+;VDMGetThreadSelectorEntry at 16
+;VDMGlobalFirst at 24
+;VDMGlobalNext at 24
+;VDMIsModuleLoaded at 4
+;VDMKillWOW at 0
+;VDMModuleFirst at 20
+;VDMModuleNext at 20
+;VDMProcessException at 4
+;VDMSetContext at 12
+;VDMSetDbgFlags at 8
+;VDMSetThreadContext at 8
+;VDMStartTaskInWOW at 12
+VDMTerminateTaskWOW at 8
_____
Added: trunk/reactos/lib/vdmdbg/vdmdbg.h
--- trunk/reactos/lib/vdmdbg/vdmdbg.h 2005-10-10 22:42:13 UTC (rev
18404)
+++ trunk/reactos/lib/vdmdbg/vdmdbg.h 2005-10-11 00:58:45 UTC (rev
18405)
@@ -0,0 +1,24 @@
+#include <windows.h>
+
+ULONG DbgPrint(PCH Format,...);
+
+typedef BOOL ( WINAPI *PROCESSENUMPROC )
+(
+ DWORD dwProcessId,
+ DWORD dwAttributes,
+ LPARAM lpUserDefined
+);
+
+typedef BOOL ( WINAPI *TASKENUMPROCEX )
+(
+ DWORD dwThreadId,
+ WORD hMod16,
+ WORD hTask16,
+ PSZ pszModName,
+ PSZ pszFileName,
+ LPARAM lpUserDefined
+);
+
+extern HINSTANCE hDllInstance;
+
+/* EOF */
_____
Added: trunk/reactos/lib/vdmdbg/vdmdbg.xml
--- trunk/reactos/lib/vdmdbg/vdmdbg.xml 2005-10-10 22:42:13 UTC (rev
18404)
+++ trunk/reactos/lib/vdmdbg/vdmdbg.xml 2005-10-11 00:58:45 UTC (rev
18405)
@@ -0,0 +1,12 @@
+<module name="vdmdbg" type="win32dll"
baseaddress="${BASEADDRESS_VDMDBG}" installbase="system32"
installname="vdmdbg.dll">
+ <importlibrary definition="vdmdbg.def" />
+ <include base="vdmdbg">.</include>
+ <define name="UNICODE" />
+ <define name="_UNICODE" />
+ <define name="__REACTOS__" />
+ <define name="__USE_W32API" />
+ <library>ntdll</library>
+ <library>kernel32</library>
+ <file>vdmdbg.c</file>
+ <pch>vdmdbg.h</pch>
+</module>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051011/c61aa035/attachment.html
More information about the Ros-diffs
mailing list