[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Int 2F Fn 4B20  - MS Windows 3 - Win.com - Set Program To Execute On Exit  [W]

   AX = 4B20h

Return: AX = 0000h if successful
       DX:CX -> 256-byte buffer for pathname and commandline (see below)

Note:  when the Windows function ExitWindows is called with an exit code of
     44h, WIN.COM executes the program specified in the returned buffer
     and then restarts Windows

Format of buffer:
Offset Size    Description
 00h 128 BYTEs ASCIZ pathname of program to execute
 80h 128 BYTEs commandline for program

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson