James Hawkins : vdmdbg: Add a stub implementation of VDMEnumTaskWOW.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Jul 17 07:36:53 CDT 2007
Module: wine
Branch: master
Commit: f2fc4d3a0f98754ac258d1e447f06d91c070cc07
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f2fc4d3a0f98754ac258d1e447f06d91c070cc07
Author: James Hawkins <truiken at gmail.com>
Date: Mon Jul 16 19:42:48 2007 -0700
vdmdbg: Add a stub implementation of VDMEnumTaskWOW.
---
dlls/vdmdbg/vdmdbg.c | 14 ++++++++++++++
dlls/vdmdbg/vdmdbg.spec | 2 +-
include/Makefile.in | 1 +
include/vdmdbg.h | 36 ++++++++++++++++++++++++++++++++++++
4 files changed, 52 insertions(+), 1 deletions(-)
diff --git a/dlls/vdmdbg/vdmdbg.c b/dlls/vdmdbg/vdmdbg.c
index 2c215e3..549b638 100644
--- a/dlls/vdmdbg/vdmdbg.c
+++ b/dlls/vdmdbg/vdmdbg.c
@@ -19,6 +19,20 @@
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
+#include "vdmdbg.h"
+
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(vdmdbg);
+
+/***********************************************************************
+ * VDMEnumTaskWOW (VDMDBG.@)
+ */
+INT WINAPI VDMEnumTaskWOW(DWORD dwProcessId, TASKENUMPROC fp, LPARAM lparam)
+{
+ FIXME("(%d, %p): stub!\n", dwProcessId, fp);
+ return 0;
+}
/***********************************************************************
* DllMain (VDMDBG.@)
diff --git a/dlls/vdmdbg/vdmdbg.spec b/dlls/vdmdbg/vdmdbg.spec
index d129a05..4131271 100644
--- a/dlls/vdmdbg/vdmdbg.spec
+++ b/dlls/vdmdbg/vdmdbg.spec
@@ -3,7 +3,7 @@
@ stub VDMBreakThread
@ stub VDMDetectWOW
@ stub VDMEnumProcessWOW
-@ stub VDMEnumTaskWOW
+@ stdcall VDMEnumTaskWOW(long ptr long)
@ stub VDMEnumTaskWOWEx
@ stub VDMGetModuleSelector
@ stub VDMGetPointer
diff --git a/include/Makefile.in b/include/Makefile.in
index 2ffe4b9..782e671 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -341,6 +341,7 @@ SRCDIR_INCLUDES = \
usp10.h \
uuids.h \
uxtheme.h \
+ vdmdbg.h \
ver.h \
vfw.h \
vfwmsgs.h \
diff --git a/include/vdmdbg.h b/include/vdmdbg.h
new file mode 100644
index 0000000..d6ebf30
--- /dev/null
+++ b/include/vdmdbg.h
@@ -0,0 +1,36 @@
+/*
+ * VDMDBG definitions
+ *
+ * Copyright (C) 2007 James Hawkins
+ *
+ * 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#ifndef __WINE_VDMDBG_H
+#define __WINE_VDMDBG_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* defined(__cplusplus) */
+
+typedef BOOL (WINAPI *TASKENUMPROC)(DWORD, WORD, WORD, LPARAM);
+
+INT WINAPI VDMEnumTaskWOW(DWORD, TASKENUMPROC, LPARAM);
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif /* defined(__cplusplus) */
+
+#endif /* __WINE_VDMDBG_H */
More information about the wine-cvs
mailing list