diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-23 07:02:46 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-23 07:02:46 +0000 |
commit | 4d048a498cfaf2eff47167714d37e11f451135de (patch) | |
tree | 3e52f538ce6797fe03c0dd8d5d4fe743ff72c24e /plugins/KeyboardNotify/src/EnumProc.cpp | |
parent | a7c0a023987fe8a04cef052c68c507fb3c2f7d74 (diff) |
we don't need 16-bit processes
git-svn-id: http://svn.miranda-ng.org/main/trunk@6191 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/KeyboardNotify/src/EnumProc.cpp')
-rw-r--r-- | plugins/KeyboardNotify/src/EnumProc.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
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++)
|