[ C++ RCOS Home | RCOS.java Home | RCOS Home | David's Home ]
Name: |
message |
Comment: |
This object is a message. Like Microsoft's NT, All messages share a common header, with a message specific body. Used to send messages via kernel. |
Collaborators: |
class message {
public:
message (UINT16 us = 0, UINT16 um = 0, UINT16 up = 0, void *pb = NULL)
{ wSender = us, wMsgType = um, wParam = up, pBody = pb; }
~message (void) {};
UINT16 wSender; // who it's from
UINT16 wMsgType; // what it is
UINT16 wParam; // non-specific parameter
void *pBody; // pointer to specific data
};