Changeset 1874 for trunk/src


Ignore:
Timestamp:
Nov 29, 1999, 1:11:47 AM (26 years ago)
Author:
bird
Message:

Console hack - Experimental.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/odincrt/initterm.cpp

    r438 r1874  
    1 /* $Id: initterm.cpp,v 1.1 1999-08-09 11:21:45 phaller Exp $ */
     1/* $Id: initterm.cpp,v 1.2 1999-11-29 00:11:47 bird Exp $ */
    22
    33/*
     
    100100         if(rc)
    101101                return 0UL;
    102 
     102         #if 1 /*
     103                * Experimental console hack. Sets apptype to PM anyhow.
     104                * First Dll to be initiated should now allways be OdinCrt!
     105                * So include odincrt first!
     106                */
     107            PPIB pPIB;
     108            PTIB pTIB;
     109            rc = DosGetInfoBlocks(&pTIB, &pPIB);
     110            if (rc != NO_ERROR)
     111                return 0UL;
     112            pPIB->pib_ultype = 3;
     113         #endif
    103114         break;
    104115      case 1 :
Note: See TracChangeset for help on using the changeset viewer.