Jump to content

Sys2QueryForegroundProcess

From EDM2
Revision as of 04:07, 10 January 2016 by Martini (talk | contribs) (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 ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.