Jump to content

Sys2QueryForegroundProcess: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
==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.)
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==
==Arguments==
; REXX ARGUMENTS: None
None


==Return Value==
==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]]
[[Category:RxUtilEx]]

Latest revision as of 06:41, 3 May 2020

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

None

Return Value

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