www.delorie.com/djgpp/doc/dpmi/api/310703.html   search  
Int 31H Function 0703H

Discard Page Contents [0.9]

Discards the entire contents of a given linear memory range. This function is used when a memory object (such as a data structure) that occupies a given area of memory is no longer needed, so that the area will not be paged to disk unnecessarily. The contents of the discarded region will be undefined.

Call With

AX = 0703h
BX:CX = starting linear address of pages to discard
SI:DI = size of region to discard (bytes)

Returns

if function successful
Carry flag = clear

if function unsuccessful
Carry flag = set
AX = error code
8025Hinvalid linear address (range unallocated)

Notes


  prev next   webmaster     delorie software   privacy  
  Copyright © 1996     Updated Apr 1996