Update of /cvsroot/com0com/hub4com
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv21620
Modified Files:
export.cpp
Log Message:
Changed message type to 32 bit
Index: export.cpp
===================================================================
RCS file: /cvsroot/com0com/hub4com/export.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** export.cpp 27 Nov 2008 16:19:16 -0000 1.8
--- export.cpp 19 Dec 2008 18:23:05 -0000 1.9
***************
*** 20,23 ****
--- 20,26 ----
*
* $Log$
+ * Revision 1.9 2008/12/19 18:23:05 vfrolov
+ * Changed message type to 32 bit
+ *
* Revision 1.8 2008/11/27 16:19:16 vfrolov
* Added pBufAppend()
***************
*** 72,76 ****
}
///////////////////////////////////////////////////////////////
! static BOOL CALLBACK msg_replace_buf(HUB_MSG *pMsg, WORD type, const BYTE *pSrc, DWORD sizeSrc)
{
_ASSERTE((type & HUB_MSG_UNION_TYPES_MASK) == HUB_MSG_UNION_TYPE_BUF);
--- 75,79 ----
}
///////////////////////////////////////////////////////////////
! static BOOL CALLBACK msg_replace_buf(HUB_MSG *pMsg, DWORD type, const BYTE *pSrc, DWORD sizeSrc)
{
_ASSERTE((type & HUB_MSG_UNION_TYPES_MASK) == HUB_MSG_UNION_TYPE_BUF);
***************
*** 95,99 ****
}
///////////////////////////////////////////////////////////////
! static HUB_MSG *CALLBACK msg_insert_buf(HUB_MSG *pPrevMsg, WORD type, const BYTE *pSrc, DWORD sizeSrc)
{
_ASSERTE((type & HUB_MSG_UNION_TYPES_MASK) == HUB_MSG_UNION_TYPE_BUF);
--- 98,102 ----
}
///////////////////////////////////////////////////////////////
! static HUB_MSG *CALLBACK msg_insert_buf(HUB_MSG *pPrevMsg, DWORD type, const BYTE *pSrc, DWORD sizeSrc)
{
_ASSERTE((type & HUB_MSG_UNION_TYPES_MASK) == HUB_MSG_UNION_TYPE_BUF);
***************
*** 130,134 ****
}
///////////////////////////////////////////////////////////////
! static BOOL CALLBACK msg_replace_val(HUB_MSG *pMsg, WORD type, DWORD val)
{
_ASSERTE((type & HUB_MSG_UNION_TYPES_MASK) == HUB_MSG_UNION_TYPE_VAL);
--- 133,137 ----
}
///////////////////////////////////////////////////////////////
! static BOOL CALLBACK msg_replace_val(HUB_MSG *pMsg, DWORD type, DWORD val)
{
_ASSERTE((type & HUB_MSG_UNION_TYPES_MASK) == HUB_MSG_UNION_TYPE_VAL);
***************
*** 145,149 ****
}
///////////////////////////////////////////////////////////////
! static HUB_MSG *CALLBACK msg_insert_val(HUB_MSG *pPrevMsg, WORD type, DWORD val)
{
_ASSERTE((type & HUB_MSG_UNION_TYPES_MASK) == HUB_MSG_UNION_TYPE_VAL);
--- 148,152 ----
}
///////////////////////////////////////////////////////////////
! static HUB_MSG *CALLBACK msg_insert_val(HUB_MSG *pPrevMsg, DWORD type, DWORD val)
{
_ASSERTE((type & HUB_MSG_UNION_TYPES_MASK) == HUB_MSG_UNION_TYPE_VAL);
***************
*** 165,169 ****
}
///////////////////////////////////////////////////////////////
! static BOOL CALLBACK msg_replace_none(HUB_MSG *pMsg, WORD type)
{
_ASSERTE((type & HUB_MSG_UNION_TYPES_MASK) == HUB_MSG_UNION_TYPE_NONE);
--- 168,172 ----
}
///////////////////////////////////////////////////////////////
! static BOOL CALLBACK msg_replace_none(HUB_MSG *pMsg, DWORD type)
{
_ASSERTE((type & HUB_MSG_UNION_TYPES_MASK) == HUB_MSG_UNION_TYPE_NONE);
***************
*** 179,183 ****
}
///////////////////////////////////////////////////////////////
! static HUB_MSG *CALLBACK msg_insert_none(HUB_MSG *pPrevMsg, WORD type)
{
_ASSERTE((type & HUB_MSG_UNION_TYPES_MASK) == HUB_MSG_UNION_TYPE_NONE);
--- 182,186 ----
}
///////////////////////////////////////////////////////////////
! static HUB_MSG *CALLBACK msg_insert_none(HUB_MSG *pPrevMsg, DWORD type)
{
_ASSERTE((type & HUB_MSG_UNION_TYPES_MASK) == HUB_MSG_UNION_TYPE_NONE);
|