home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 22 gnu
/
22-gnu.zip
/
sampl254.zip
/
gcc2
/
samples
/
sample3
/
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;
}
// *******************************************************************************************************************