Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Technical Reference - <b>exoispm()</b> http://www.X-Hacker.org [<<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()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson