Ignore:
Timestamp:
Aug 9, 2001, 10:45:41 AM (24 years ago)
Author:
sandervl
Message:

rewrote PostThreadMessage + query message queue of first thread with WinQueueFromId

File:
1 edited

Legend:

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

    r6439 r6501  
    1 /* $Id: pmwindow.cpp,v 1.142 2001-08-02 14:50:42 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.143 2001-08-09 08:45:41 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    7575BOOL InitPM()
    7676{
    77 
    7877    hab = WinInitialize(0);
    7978    dprintf(("Winitialize returned %x", hab));
     
    9897            }
    9998            if(!hmq) {
    100                 hmq = HMQ_CURRENT;
     99                PTIB ptib;
     100                PPIB ppib;
     101
     102                DosGetInfoBlocks(&ptib, &ppib);
     103
     104                hmq = WinQueueFromID(hab, ppib->pib_ulpid, ptib->tib_ptib2->tib2_ultid);
    101105            }
    102106        }
Note: See TracChangeset for help on using the changeset viewer.