Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
PageSwap_Test_Create
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include pageswap.inc
 
VxDcall PageSwap_Test_Create
 
The PageSwap_Test_Create service determines whether the virtual pageswap
device can satisfy the specified allocation request. The VMM memory manager
calls this service to check requests before allocating the memory.
 
The virtual pageswap 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.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
ECX        Specifies the count of pages in the allocation request.
 
EAX        Specifies the allocation flags.
 
Return Value
 
The carry flag is clear if the requested memory can be allocated.
 
Uses
 
Flags
 
                                      ♦