[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ExoIsPM()
 Determines if the CPU is running in protected mode
------------------------------------------------------------------------------
 C Prototype

     int ExoIsPM(void)

 Returns

     This function returns nonzero (true (.T.)) if the CPU is executing in
     protected mode, otherwise it returns 0.

 Description

     Use this function to determine whether the processor is running in
     protected mode.

 Examples

     This program fragment prints a message telling whether or not the CPU is
     in protected mode.

     If (ExoIsPM())
       printf("cpu is in protected mode");
     else
       printf("cpu not in protected mode");

 Files   Library is EXOSPACE.LIB, header file is Exospace.api.


See Also: ExoIsDPMI() ExoIsExoSpace()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson