Ignore:
Timestamp:
Dec 26, 1999, 6:30:20 PM (26 years ago)
Author:
cbratschi
Message:

non-client fixes, DefWndProc enhancements, several other bugs fixed

File:
1 edited

Legend:

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

    r949 r2204  
    1 /* $Id: oslibutil.cpp,v 1.1 1999-09-15 23:18:54 sandervl Exp $ */
     1/* $Id: oslibutil.cpp,v 1.2 1999-12-26 17:30:15 cbratschi Exp $ */
    22/*
    33 * Window API utility functions for OS/2
     
    2424  if(thdb)
    2525  {
    26         return (HAB)thdb->hab;
     26        return (HAB)thdb->hab;
    2727  }
    2828
     
    3939  if(thdb)
    4040  {
    41         thdb->hab = (ULONG)hab;
     41        thdb->hab = (ULONG)hab;
    4242  }
    43   else  dprintf(("SetThreadHAB: thdb == NULL!!"));
     43  else  dprintf(("SetThreadHAB: thdb == NULL!!"));
    4444}
    4545//******************************************************************************
     
    5252  if(thdb)
    5353  {
    54         return (HMQ)thdb->hmq;
     54        return (HMQ)thdb->hmq;
    5555  }
    5656
     
    6767  if(thdb)
    6868  {
    69         thdb->hmq = (ULONG)hmq;
     69        thdb->hmq = (ULONG)hmq;
    7070  }
    71   else  dprintf(("SetThreadMessageQueue: thdb == NULL!!"));
     71  else  dprintf(("SetThreadMessageQueue: thdb == NULL!!"));
    7272}
    7373//******************************************************************************
    7474//******************************************************************************
     75DWORD GetThreadMessageExtraInfo()
     76{
     77 THDB *thdb;
     78
     79  thdb = GetThreadTHDB();
     80  if(thdb)
     81  {
     82        return thdb->lParam;
     83  }
     84
     85  dprintf(("GetThreadMessageExtraInfo: thdb == NULL!!"));
     86  return 0;
     87}
     88//******************************************************************************
     89//******************************************************************************
     90DWORD SetThreadMessageExtraInfo(DWORD lParam)
     91{
     92 THDB *thdb;
     93
     94  thdb = GetThreadTHDB();
     95  if(thdb)
     96  {
     97        thdb->lParam = lParam;
     98  }
     99  else  dprintf(("SetThreadMessageExtraInfo: thdb == NULL!!"));
     100  return 0;
     101}
Note: See TracChangeset for help on using the changeset viewer.