diff --git a/dlls/vdmdbg/vdmdbg.c b/dlls/vdmdbg/vdmdbg.c index 2c215e329a1..549b6383a98 100644 --- a/dlls/vdmdbg/vdmdbg.c +++ b/dlls/vdmdbg/vdmdbg.c @@ -19,6 +19,20 @@ #include #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 d129a05448d..41312713770 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 2ffe4b9f3a5..782e671e4de 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 00000000000..d6ebf307e5e --- /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 */