Ignore:
Timestamp:
Nov 21, 2000, 12:36:09 PM (25 years ago)
Author:
sandervl
Message:

Updates for TEB changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/win32wbase.cpp

    r4628 r4658  
    1 /* $Id: win32wbase.cpp,v 1.223 2000-11-19 11:52:40 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.224 2000-11-21 11:36:09 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    496496
    497497  //Store our window object pointer in thread local memory, so PMWINDOW.CPP can retrieve it
    498   THDB *thdb = GetThreadTHDB();
    499 
    500   if(thdb == NULL) {
    501         dprintf(("Window creation failed - thdb == NULL")); //this is VERY bad
     498  TEB *teb = GetThreadTEB();
     499
     500  if(teb == NULL) {
     501        dprintf(("Window creation failed - teb == NULL")); //this is VERY bad
    502502        ExitProcess(666);
    503503        return FALSE;
    504504  }
    505505
    506   thdb->newWindow = (ULONG)this;
     506  teb->o.odin.newWindow = (ULONG)this;
    507507
    508508  DWORD dwOSWinStyle;
Note: See TracChangeset for help on using the changeset viewer.