Use the
EnumProcesses, Luke!
Or you can use
CreateToolhelp32Snapshot and related functions.
Also, you should read forum rules. The official language of this forum is russian, so please consider using translate programs and post your question in russian.