QUECALLS APIs
QUECALLS APIs are entered indirectly via DOSCALL1 as shown below:
APPL ────> DOSCALL1 ─────> QUECALLS <──── DOSCALL1 <─────
To trace QUECALLS API parameters and results use TRACE ON QUECALLS(.....). To trace the API return addresses use TRACE ON DOSCALL1(.....).
Note: The QUECALLS entry points in DOSCALL1 have been grouped using group id QUE. All the API return addresses may be traced by specifying TRACE ON DOSCALL1(QUE).
The following is an example of QUECALLS traced output activated using
TRACE ON DOSCALL1(QUE) TRACE ON QUECALLS
(OS) DosReadQueue Pre-Invocation Event [1] Major [22/0x0016] Minor [7/0x0007] PID [109/0x006d] Length [21] Time [10:58:14.97] Handle=0014 Element Code=0000 Semaphore Handle=0027 75E4 No Wait Flag=00 (OS) Dos16ReadQueue Pre-Invocation Event [2] Major [16/0x0010] Minor [360/0x0168] PID [109/0x006d] Length [7] Time [10:58:14.97] Return address = 000F:47EC
In this example the return address to the 16-bit caller is given in minor code 360 of DOSCALL1.
For a list of indirected QUECALLS tracepoits see: QUECALLS API Tracepoints Indirected Via DOSCALL1.