home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
dovetail.zip
/
process.cc
< prev
next >
Wrap
Text File
|
1992-04-17
|
1KB
|
34 lines
#include "process.h"
// *******************************************************************************************************************
Process::Process ()
{
// Register thread to use Presentation Manager function calls.
hAnchrBlk = WinInitialize (0);
// Create messge queue for the thread.
hMsgQue = WinCreateMsgQueue (hAnchrBlk, // Anchor Block handle
0); // Queue size, use default
}
// *******************************************************************************************************************
HAB Process::AnchorBlock ()
{
return hAnchrBlk;
}
// *******************************************************************************************************************
HMQ Process::MsgQue ()
{
return hMsgQue;
}
// *******************************************************************************************************************