#ifndef WINNT_PROCESS
#define WINNT_PROCESS
#define WIN32_LEAN_AND_MEAN
#include "StdAfx.h"
#include <windows.h>
#include <vdmdbg.h>
#include <psapi.h>
//全局变量,保存进程数目
strings FunProcessCount;
//Windows NT Functions
typedef BOOL (WINAPI *ENUMPROCESSES)(
DWORD * lpidProcess, // array to receive the process identifiers
DWORD cb, ; // size of the array
DWORD * cbNeeded // receives the number of bytes returned
);
typedef BOOL (WINAPI *ENUMPROCESSMODULES)(
HANDLE hProcess, // handle to the process
HMODULE * lphModule, // array to receive the module handles
DWORD cb, // size of the array
LPDWORD lpcbNeeded // receives the number of bytes returned
);
typedef DWORD (WINAPI *GETMODULEFILENAME)(
H