Int 31 Fn 050B P - Dpmi 1.0+ - Get Memory Information [E]

AX = 050Bh
ES:(E)DI -> 128-byte buffer for memory information (see #2828)

Return: CF clear if successful
CF set on error (DPMI 0.9 only)

Note: 16-bit programs use ES:DI, 32-bit programs must use ES:EDI

See Also: AX=0500h

Format of DPMI memory information:
Offset Size Description (Table 2828)
00h DWORD total allocated bytes of physical memory controlled by host
04h DWORD total allocated bytes of virtual memory controlled by host
08h DWORD total available bytes of virtual memory controlled by host
0Ch DWORD total allocated bytes of virtual memory for curr virtual mach
10h DWORD total available bytes of virtual memory for curr virtual mach
14h DWORD total allocated bytes of virtual memory for current client
18h DWORD total available bytes of virtual memory for current client
1Ch DWORD total locked bytes for current client
20h DWORD maximum locked bytes for current client
24h DWORD highest linear address available to current client
28h DWORD largest available memory block in bytes
2Ch DWORD minimum allocation unit in bytes
30h DWORD allocation alignment unit size in bytes
34h 76 BYTEs reserved (00h)