UTIL_GetProcessId

function

Library: Utilities (OMUTIL legacy)
Include: omutil.xin

Returns: a platform-specific number that identifies a process


Declaration
define external integer function UTIL_GetProcessId


Purpose

This function returns a platform-specific number that uniquely identifies the process.

Example:

  ; get the Process ID, a platform-specific number identifying the process
  include "omutil.xin"
  process
    local integer pid
    set pid to UTIL_GetProcessId
    output "Process ID = %d(pid).%n"