Category : C++ Source Code
Archive   : VCCRT1.ZIP
Filename : WSETEXIT.C

 
Output of file : WSETEXIT.C contained in archive : VCCRT1.ZIP
/***
*wsetexit.c - Set QuickWin Exit Setting
*
* Copyright (c) 1990-1992, Microsoft Corporation. All rights reserved.
*
*Purpose:
* Set QuickWin Exit Setting
*
*******************************************************************************/

#include
#include
#include


/***
*_wsetexit() - Set QuickWin Exit Setting
*
*Purpose:
* This routine indicates how a QuickWin app should behave
* when the exit() procedure is called.
* The input options are :
*
* _WINEXITPROMPT // prompt user to persist or not
* _WINEXITNOPERSIST // clear output and terminate
* _WINEXITPERSIST // keep output on screen and let user browse
*
*Entry:
* One of the manifest constants listed above.
*
*Exit:
* 0 = success
* -1 = failure
*
*Exceptions:
*
*******************************************************************************/

int _wsetexit (exitcode)
int exitcode;
{

return(_QWINSetExit(exitcode));

}


  3 Responses to “Category : C++ Source Code
Archive   : VCCRT1.ZIP
Filename : WSETEXIT.C

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/