vdmdbg.dll (stubs only) by Christoph v.W. - thanks!

svn path=/trunk/; revision=18405
This commit is contained in:
Gregor Anich 2005-10-11 00:58:45 +00:00
parent b1761726b2
commit aa105de9d7
6 changed files with 161 additions and 1 deletions

View file

@ -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" />

View file

@ -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>

View file

@ -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;
}

View file

@ -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@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@8
VDMDetectWOW@0
VDMEnumProcessWOW@8
;VDMEnumTaskWOW@12
VDMEnumTaskWOWEx@12
;VDMGetAddrExpression@20
;VDMGetContext@12
;VDMGetDbgFlags@4
;VDMGetModuleSelector@20
;VDMGetPointer@20
;VDMGetSegmentInfo@16
;VDMGetSegtablePointer@0
;VDMGetSelectorModule@32
;VDMGetSymbol@28
;VDMGetThreadContext@8
;VDMGetThreadSelectorEntry@16
;VDMGlobalFirst@24
;VDMGlobalNext@24
;VDMIsModuleLoaded@4
;VDMKillWOW@0
;VDMModuleFirst@20
;VDMModuleNext@20
;VDMProcessException@4
;VDMSetContext@12
;VDMSetDbgFlags@8
;VDMSetThreadContext@8
;VDMStartTaskInWOW@12
VDMTerminateTaskWOW@8

View file

@ -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 */

View file

@ -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>