DWORD dwProcs[1024*2]; DWORD dwNeeded; EnumProcesses( dwProcs, sizeof(dwProcs), &dwNeeded ); DWORD dwProcCount = dwNeeded / sizeof(DWORD); 转载请注明:爱开源 » 获取进程数