PageSwap_Grow_File


mov     ecx, cPages    ; number of pages to grow by
VxDcall PageSwap_Grow_File
mov     newsize, ecx   ; new size of the file, in pages
mov     maxsize, ebx   ; maximum size of the file, in pages

Increases the size of the swap file by the specified number of pages. Uses EAX, EBX, Flags.

cPages

Number of pages to grow the swap file by.

If the file cannot grow by the requested number of pages, the new size will be less than requested and equal to the maximum size.