include pageswap.inc VxDcall PageSwap_Test_Create |
The PageSwap_Test_Create service determines whether the virtual page swap device can satisfy the specified allocation request. The VMM memory manager calls this service to check requests before allocating the memory.
The virtual page swap device can satisfy the request if the request is less than or equal to the size of the swap file, plus any physical memory not yet mapped to linear addresses.
ECX
Specifies the count of pages in the allocation request.
EAX
Specifies the allocation flags.
The carry flag is clear if the requested memory can be allocated.
Flags