home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / dovetail.zip / process.cc < prev    next >
Text File  |  1992-04-17  |  1KB  |  34 lines

  1.  
  2. #include "process.h"
  3.  
  4. // *******************************************************************************************************************
  5.  
  6. Process::Process ()
  7.    {
  8.     //  Register thread to use Presentation Manager function calls.
  9.  
  10.     hAnchrBlk = WinInitialize (0);
  11.  
  12.     //  Create messge queue for the thread.
  13.  
  14.     hMsgQue = WinCreateMsgQueue (hAnchrBlk,      // Anchor Block handle
  15.                                  0);             // Queue size, use default
  16.    }
  17.  
  18. // *******************************************************************************************************************
  19.  
  20. HAB        Process::AnchorBlock ()
  21.                    {
  22.                     return  hAnchrBlk;
  23.                    }
  24.  
  25. // *******************************************************************************************************************
  26.  
  27. HMQ        Process::MsgQue ()
  28.                     {
  29.                      return  hMsgQue;
  30.                     }
  31.  
  32. // *******************************************************************************************************************
  33.  
  34.