diff options
Diffstat (limited to 'plugins/KeyboardNotify/src')
-rw-r--r-- | plugins/KeyboardNotify/src/Common.h | 1 | ||||
-rw-r--r-- | plugins/KeyboardNotify/src/EnumProc.cpp | 27 |
2 files changed, 0 insertions, 28 deletions
diff --git a/plugins/KeyboardNotify/src/Common.h b/plugins/KeyboardNotify/src/Common.h index f4e4f04282..71719a513f 100644 --- a/plugins/KeyboardNotify/src/Common.h +++ b/plugins/KeyboardNotify/src/Common.h @@ -23,7 +23,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include <windows.h>
#include <stdlib.h>
#include <tlhelp32.h>
-#include <vdmdbg.h>
#include <commctrl.h>
#include <commdlg.h>
#include <winioctl.h>
diff --git a/plugins/KeyboardNotify/src/EnumProc.cpp b/plugins/KeyboardNotify/src/EnumProc.cpp index 0277bdd351..52ff37a8fb 100644 --- a/plugins/KeyboardNotify/src/EnumProc.cpp +++ b/plugins/KeyboardNotify/src/EnumProc.cpp @@ -20,8 +20,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. BOOL findFilename(TCHAR *);
TCHAR *filename(TCHAR *);
-BOOL WINAPI Enum16(DWORD, WORD, WORD, TCHAR *, TCHAR *, LPARAM);
-
// Globals
extern PROCESS_LIST ProcessList;
@@ -48,36 +46,11 @@ BOOL areThereProcessesRunning(void) // Search szFileName in user-defined list
if (findFilename(szFileNameAux))
return TRUE;
-
- // Did we just bump into an NTVDM?
- if (!_wcsicmp(szFileNameAux, L"NTVDM.EXE")) {
- BOOL bFound = FALSE;
-
- // Enum the 16-bit stuff.
- VDMEnumTaskWOWEx(procentry.th32ProcessID, (TASKENUMPROCEX)Enum16, (LPARAM)&bFound);
-
- // Did we find any user-defined process?
- if (bFound)
- return TRUE;
- }
}
return FALSE;
}
-
-BOOL WINAPI Enum16(DWORD dwThreadId, WORD hMod16, WORD hTask16, TCHAR *szModName, TCHAR *szFileName, LPARAM lpUserDefined)
-{
- BOOL bRet;
- BOOL *pbFound = (BOOL *)lpUserDefined;
-
- if ((bRet = findFilename(filename(szFileName))))
- *pbFound = TRUE;
-
- return bRet;
-}
-
-
BOOL findFilename(TCHAR *fileName)
{
for (int i=0; i < ProcessList.count; i++)
|