#keywords C++, 프로세스, Win32 {{{#!gcode VOID GetProcessList() { HANDLE hProcess = NULL; PROCESSENTRY32 pe32 = {0,}; hProcess = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); pe32.dwSize = sizeof(PROCESSENTRY32); if (Process32First(hProcess, &pe32)) { do { OutputDebugString(pe32.szExeFile); } while (Process32Next(hProcess, &pe32)); } CloseHandle (hProcess); } }}} ---- {{{ }}} attachment:1206.PNG