settings for WaitCommEvent
- From: "jp2code" <poojo.com/mail>
- Date: Mon, 25 Jun 2007 11:04:45 -0500
This is a 3 part question, all dealing with WaitCommEvent:
First:
My code calls SetCommMask, then WaitCommEvent. After WaitCommEvent has
finished, do I need to re-call SetCommMask, or are the values still set? I
found an example that called SetCommMask after WaitCommEvent completed, and
I'm curious if that is something I should or should not be doing.
Second:
Is there a way to specify a timeout for WaitCommEvent? Whenever my
application exits, WaitCommEvent returns with FALSE (which causes my code to
display an error) because there was not way to yank it out of its waiting
state.
Third:
There are times that I *know* data is there! I can call other functions
while WaitCommEvent is waiting for data, and they are able to pull in data
while WaitCommEvent just sits there waiting for God knows what.
I'd like the answer to all of these, but I'll take whatever others know.
Regards,
Joe
.
- Follow-Ups:
- Re: settings for WaitCommEvent
- From: Uncle Marvo
- Re: settings for WaitCommEvent
- From: <ctacke/>
- Re: settings for WaitCommEvent
- Prev by Date: Re: I can get a raw data by using dshow but the file size is not correct
- Next by Date: Re: settings for WaitCommEvent
- Previous by thread: Power on/off event
- Next by thread: Re: settings for WaitCommEvent
- Index(es):
Relevant Pages
|