diff options
Diffstat (limited to 'plugins/ConnectionNotify/src/pid2name.cpp')
-rw-r--r-- | plugins/ConnectionNotify/src/pid2name.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/ConnectionNotify/src/pid2name.cpp b/plugins/ConnectionNotify/src/pid2name.cpp index 76d7b49441..e30b032bdd 100644 --- a/plugins/ConnectionNotify/src/pid2name.cpp +++ b/plugins/ConnectionNotify/src/pid2name.cpp @@ -1,4 +1,4 @@ -#include "ConnectionNotify.h"
+#include "stdafx.h"
void pid2name(DWORD procid, TCHAR *buffer, size_t bufLen)
{
@@ -15,8 +15,7 @@ void pid2name(DWORD procid, TCHAR *buffer, size_t bufLen) _tcsncpy_s(buffer, bufLen, ProcessStruct.szExeFile, _TRUNCATE);
break;
}
- }
- while( Process32Next( hSnap, &ProcessStruct ));
+ } while (Process32Next(hSnap, &ProcessStruct));
- CloseHandle( hSnap );
+ CloseHandle(hSnap);
}
|