All Forums
 Microsoft Windows CE
 eVC Application Development
 CanWaitRxEvent
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

mmp

31 Posts

Posted - 24 Mar 2003 :  08:26:30  Show Profile  Email Poster
Hello,

There is a function provided in CanIO.h (ADS for CAN support) prototyped as:

DWORD CanWaitRxEvent(HANDLE hDevice, PDWORD lpEvt, DWORD dwMiliSec);

Can anyone please tell me what the return values could be? I see it returns a DWORD, but what possible return values could it have and under what circumstances (what would they mean.)

Thanks.
Marius

akidder

1519 Posts

Posted - 24 Mar 2003 :  09:30:36  Show Profile  Email Poster
Good question, Marius.

The CANWaitRxEvent() function calls the WaitForSingleObject() API to wait for the CAN data receive event, then returns the value returned by WaitForSingleObject().

We'll update our documentation to clarify this issue in the future.
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000