Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- OSLIB v1.05 - <b>ol_isos2win()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 OL_IsOS2Win()
 Are we running in a windowed OS/2 Dos session?
------------------------------------------------------------------------------

 Syntax

       OL_IsOS2Win() --> lWindow

 Arguments

      None.

 Returns

      .T. if we are running in an OS/2 Dos Window, .F. if we are running
      in an OS/2 Dos full screen session.

 Description

      OL_IsOS2Win() can be used to check if the current Dos session
      under OS/2 is a windowed session or a full screen
      session. Note that this function does not check if we are
      running under OS/2 and the return value is undocumented if we
      are not. You will probably want to check using OL_IsOS2() first.

 Examples

      // Display the current session details.

      If OL_IsOS2()
         ? "Running in an OS/2 Dos " + if( OL_IsOS2Win()   ,;
                                           "windowed"      ,;
                                           "full screen" ) +;
                                           " session"
      Else
         ? "Boring old Dos!"
      EndIf

 Source: ISOS2WIN.C

 Author: Dave Pearson

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