Int 15 Fn DE22 - Desqview V2.26+ - "processmem" - Get Task Memory Status [Q]

AX = DE22h
DX = segment of task handle

Return: DX = total amount of memory in paragraphs
BX = amount of system memory in paragraphs
CX = largest block of system memory available in paragraphs
AX = memory flags (see #0476)

Notes: if the task handle is a child task, the returned values will be for the
process containing the task, rather than the task itself
if the process's system memory is swapped out, BX,CX,DX remain
unchanged, because the memory usage cannot be determined

See Also: AX=DE04h,AX=DE05h,AX=DE06h

Bitfields for DESQview process memory flags:
Bit(s) Description (Table 0476)
0 system memory resides in shared memory
1 process's memory is swapped out
2 process's system memory is swapped out