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.
_GetSetPageOutCount
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
VMMcall _GetSetPageOutCount, <NewCount, flags>
 
The _GetSetPageOutCount service either sets or returns the page out count.
 
This service is for exclusive use by the virtual pageswap device.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
NewCount   Specifies the new page out count. This parameter is used only if
           the flag parameter is not set to the GSPOC_F_Get value.
 
flags      Specifies the operation flags. This parameter can be the
           following value:
 
           Value        Meaning
           ─────────────────────────────────────────────────────────────────
           GSPOC_F_Get  Returns the current value of the page out count; the
                        NewCount parameter is ignored. If this value is not
                        given, the service sets the value of the page out
                        count to NewCount.
 
           All other values are reserved.
 
Return Value
 
The EAX register contains the page out count if the GSPOC_F_Get value is
given. Otherwise, this service has no return value.
 
Comments
 
This service allows the virtual pageswap device to manipulate a memory
manager parameter associated with demand paging. This parameter is the page
out ahead count. Whenever a page is paged out to satisfy a page in, the
system pages out an additional PageOutCount-1 pages and puts the pages on
the free list (if possible).
 
Uses
 
EAX
 
See Also
 
_PageOutDirtyPages