Jump to content

Sys2QueryForegroundProcess: Difference between revisions

From EDM2
Created page with "==Description== Queries the PID of the current foreground process. (Note that this is not necessarily the same as the process which is calling this function, which could, for ..."
 
No edit summary
Line 3: Line 3:


==Arguments==
==Arguments==
REXX ARGUMENTS: None
; REXX ARGUMENTS: None


==Return Value==
==Return Value==
REXX RETURN VALUE:
; REXX RETURN VALUE: Integer representing the process ID (in decimal), or 0 if an error occurred.
  Integer representing the process ID (in decimal), or 0 if an error occurred.
 
[[Category:The OS/2 API Project]]

Revision as of 14:54, 16 June 2016

Description

Queries the PID of the current foreground process. (Note that this is not necessarily the same as the process which is calling this function, which could, for example, be running in the background and/or as a child of the foreground process.)

Arguments

REXX ARGUMENTS
None

Return Value

REXX RETURN VALUE
Integer representing the process ID (in decimal), or 0 if an error occurred.