TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Bill Stone
from: Rob Basler
date: 1994-07-19 12:03:00
subject: Os/2 Api

BS>RB>OK, this is the only *official* way out of a DOS box.  I have found a
BS>RB>few of the function calls you can make to set the name of a windowed DOS
BS>RB>session, and the function that is called when you switch from/to a
BS>RB>full screen session.  I haven't seen mention of access to semaphores

BS>Care to share this little gem(screen switch function)? Thanks

BS>Bill

From a readme I wrote for a program that uses this feature:

When Video_Switch_Notification is ON:

TRIDFONT hooks the Int 2Fh function 4002h which is called each time an OS/2
DOS window is changed to full screen.

I believe it is 4001h which is called when a DOS box goes to a window
but it may be 4003h, (I forget and don't have the docs handy.)  This is
documented in the DOS interrupt list file INTERxx.ZIP which you should
be able to find.

Rob.

___
 X SLMR 2.1a X Ratings: G:Guns/PG-Plenty of guns/PG-13:more than 12 guns

--- Maximus/2 2.01wb

* Origin: The Idle Task... (604)275-0835 Richmond BC. (1:153/905)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 413 430
SEEN-BY: 711/807 808 809 934 942 712/353 623 713/888 800/1
@PATH: 153/905 918 3615/50 229/2 12/2442 711/409 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.