{$IFDEF BPC} {$IFNDEF DPMI} {$FATAL This library can be compile for BP DPMI only } {$ENDIF}{$ELSE} {$FATAL This library can be compile for BP DPMI only }{$ENDIF}

unit RTMSwap;interface

const rtmOK = $0; rtmNoMemory = $1; rtmFileIOError = $22;

function MemInitSwapFile(FileName: PChar; FileSize: Longint): Integer; { Opens a swapfile of the specified size. If a swapfile already exists, and the new size is larger, the swapfile will grow, otherwise the previous swap file parameters are used.