Changeset 20426


Ignore:
Timestamp:
Mar 3, 2003, 5:38:20 PM (22 years ago)
Author:
sandervl
Message:

ExitProcess: turn off hard errors & exception popups before calling O32_ExitProcess (release build only)

Location:
tags/trunk/src/kernel32
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tags/trunk/src/kernel32/oslibmisc.cpp

    r20236 r20426  
    1 /* $Id: oslibmisc.cpp,v 1.17 2003-01-20 10:46:28 sandervl Exp $ */
     1/* $Id: oslibmisc.cpp,v 1.18 2003-03-03 16:38:20 sandervl Exp $ */
    22/*
    33 * Misc OS/2 util. procedures
     
    1414#define INCL_BASE
    1515#define INCL_DOSPROCESS
     16#define INCL_DOSERRORS
    1617#define INCL_DOSSEL
    1718#define INCL_DOSNLS        /* National Language Support values */
     
    332333//******************************************************************************
    333334//******************************************************************************
     335BOOL OSLibDisablePopups()
     336{
     337   return DosError(FERR_DISABLEEXCEPTION | FERR_DISABLEHARDERR) == NO_ERROR;   
     338}
     339//******************************************************************************
     340//******************************************************************************
  • TabularUnified tags/trunk/src/kernel32/oslibmisc.h

    r20161 r20426  
    1 /* $Id: oslibmisc.h,v 1.11 2003-01-05 12:31:24 sandervl Exp $ */
     1/* $Id: oslibmisc.h,v 1.12 2003-03-03 16:38:20 sandervl Exp $ */
    22/*
    33 * Misc util. procedures
     
    2828ULONG OSLibFreeSel(USHORT selector);
    2929PVOID OSLibSelToFlat(USHORT selector);
     30
     31//******************************************************************************
     32// Turn off hard errors & exception popups
     33//******************************************************************************
     34BOOL  OSLibDisablePopups();
    3035
    3136#define TIB_STACKTOP    0
  • TabularUnified tags/trunk/src/kernel32/wprocess.cpp

    r20418 r20426  
    1 /* $Id: wprocess.cpp,v 1.184 2003-02-28 16:20:57 sandervl Exp $ */
     1/* $Id: wprocess.cpp,v 1.185 2003-03-03 16:38:20 sandervl Exp $ */
    22
    33/*
     
    574574
    575575    dprintf(("KERNEL32:  ExitProcess done (time %x)", GetCurrentTime()));
     576#ifndef DEBUG
     577    OSLibDisablePopups();
     578#endif
    576579    O32_ExitProcess(exitcode);
    577580}
Note: See TracChangeset for help on using the changeset viewer.