Sys2QueryForegroundProcess: Difference between revisions
Appearance
m Ak120 moved page OS2 API:RXUTILEX:Sys2QueryForegroundProcess to RxUtilEx - Sys2QueryForegroundProcess |
m Ak120 moved page RxUtilEx - Sys2QueryForegroundProcess to Sys2QueryForegroundProcess |
(No difference)
|
Revision as of 06:07, 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
- REXX ARGUMENTS
- None
Return Value
- REXX RETURN VALUE
- Integer representing the process ID (in decimal), or 0 if an error occurred.