GetIDProcess

Process ››
Parent Previous Next

GetIDProcess

Синтаксис

Function GetIDProcess() As Integer

Описание

Функция возвращает глобальный идентификатор процесса при перечислении с помощью FirstProcess-NextProcess

Параметры

нет

Платформы

Windows , Linux

Пример

#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: Easy CHM and documentation editor