Int 2F Fn 1684 PU - Ms Windows - Pagefile - Get Api Entry Point [W]
AX = 1684h
BX = 0021h (virtual device ID for PAGEFILE device) (see #2329)
ES:DI = 0000h:0000h
Return: ES:DI -> VxD API entry point (see #2348)
0000h:0000h if the VxD does not support an API
See Also: AX=1684h/BX=0017h,#0985 at INT 20"Windows"
(Table 2348)
Call PAGEFILE entry point with:
AX = function
0000h get version
Return: CF clear
AX = version (AH = major, AL = minor)
0001h get swap file info
DS:SI -> 128-byte buffer for swap file full pathname
DS:DI -> 128-byte buffer for SPART.PAR full pathname
Return: CF clear
AL = pager type (see #2349)
AH = flags
bit 7: swap file corrupted
ECX = maximum size of swap file
DS:SI buffer filled if paging enabled
DS:DI buffer filled if permanent swap file
0002h delete permanent swap file on exit
Return: CF clear
0003h get current temporary swap file size
Return: CF clear
DX:AX = current swap file size in bytes
0000h:0000h if permanent swap file
Note: this API is only available in protected mode, and may only be called
from the system VM
See Also: #0985 at INT 20"Windows",#2350
(Table 2349)
Values for MS Windows PAGEFILE pager type:
00h paging disabled
01h MSDOS
02h BIOS
03h 32-bit disk access
See Also: #2348