Re: GetLastError reported the following
- From: Michael Dunn <tapi@xxxxxxxxxxxx>
- Date: Fri, 20 May 2005 00:14:17 -0700
William DePalo [MVP VC++] wrote:
In my WriteFile(Handle, inbuff, bufflenght, &byteswritten, NULL), the last parameter is NULL. Is this why it is complaining?
Because the device was initially opened for overlapped I/O you must pass a a pointer to validly filled in overlapped structure as the last parameter.
In TAPI, where do you declare where a function is to use Overlapped or non-Overlapped Reads and Writes?
You don't because you don't open the device. The device was earlier opened, however, for overlapped access.
Note that Unimodem only support Overlapped mode.
-- Michael Dunn (Microsoft MVP) is a TAPI Developer and Tester TAPI web page: http://www.rainyjay.com/tapi/tapi.htm TAPI discussions belong in the newsgroup, and not in private email. "I'm not insane, I'm just choosy about the reality I accept." .
- Follow-Ups:
- Re: GetLastError reported the following
- From: William DePalo [MVP VC++]
- Re: GetLastError reported the following
- From: Neil P.
- Re: GetLastError reported the following
- References:
- GetLastError reported the following
- From: Neil P.
- Re: GetLastError reported the following
- From: William DePalo [MVP VC++]
- GetLastError reported the following
- Prev by Date: Re: D-Channel Informations
- Next by Date: Re: Error in incoming sample
- Previous by thread: Re: GetLastError reported the following
- Next by thread: Re: GetLastError reported the following
- Index(es):
Relevant Pages
|