Язык программирования FreeBasic |
GetNameProcess
GetNameProcess()
Функция возвращает имя процесса при перечислении с помощью FirstProcess-NextProcess.
Пример:
#Include "window9.bi"
Var pr=InitProcess
If pr<>-1 And FirstProcess(pr)<>0 Then
Do
? GetNameProcess(),GetIDProcess()
Loop Until NextProcess(pr)=0
CloseHandle(pr)
EndIf
sleep

Created with the Personal Edition of HelpNDoc: Full-featured Kindle eBooks generator