next up previous contents index
Next: get_cs Up: Functions and Procedures Previous: get_pm_interrupt

get_run_mode

   

Declaration:

Function get_run_mode : word;

Description:

This function returns the mode which the extender is currently running. The function is mostly used to determine if DPMI is supported.

Errors:

None.

See also:

rm Example :

uses
   go32;

begin
   if get_run_mode=rm_dpmi then
     writeln('DPMI available')
   else
     writeln('No DPMI available');
end.



Michael Van Canneyt
Tue Mar 31 16:46:10 CEST 1998