Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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
 
                                      ♦