Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

dwRequestID parameter

2 views
Skip to first unread message

Mohit

unread,
Nov 18, 2009, 1:11:01 AM11/18/09
to
Hello Friends,

Can any one tell me that the value of dwRequestID is provided by the TAPI,
TSPISRV or TSP?

I'm confused because, when I checked the lineMakeCall(), it looks for the
RequestID in the reply of the function. But when the TAPISRV passes it to the
TSP, it adds a parameter named as dwRequestID into the TSPI_lineMakeCall()
and expects the dwRequestID from the TSP in reply of the message as a
successful execution.

So, does the TAPISRV provides dwRequestID value for the call or it asks TSP
to provide it?

Thnaks,
Mohit

Andreas Marschall [exMVP TAPI]

unread,
Nov 18, 2009, 1:16:35 AM11/18/09
to
"Mohit" <Mo...@discussions.microsoft.com> schrieb im Newsbeitrag
news:6E422D8A-7CB5-45F1...@microsoft.com...

> Can any one tell me that the value of dwRequestID is provided by the TAPI,
> TSPISRV or TSP?

Mohit,
dwRequestID is generated by TAPISRV and passed to TSP and TAPI app.

> I'm confused because, when I checked the lineMakeCall(), it looks for the
> RequestID in the reply of the function. But when the TAPISRV passes it to
> the
> TSP, it adds a parameter named as dwRequestID into the TSPI_lineMakeCall()
> and expects the dwRequestID from the TSP in reply of the message as a
> successful execution.
>
> So, does the TAPISRV provides dwRequestID value for the call or it asks
> TSP
> to provide it?

Clearly, TAPISRV generates it and TSP has to return this from the TSPI_
function and in the ASYNC_COMPLETION.

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto� Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion. Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no
rights.

Mohit

unread,
Nov 18, 2009, 2:01:01 AM11/18/09
to

> .
>

Andreas,

Thnaks for your kind reply.
I had found it in the Completion_Proc Callback function while studying it
from MSDN library.

Mohit

Andreas Marschall [exMVP TAPI]

unread,
Nov 18, 2009, 2:20:00 AM11/18/09
to
"Mohit" <Mo...@discussions.microsoft.com> schrieb im Newsbeitrag
news:AE1C4B97-C083-4799...@microsoft.com...

> Andreas,
>
> Thnaks for your kind reply.

Mohit, you are welcome.

> I had found it in the Completion_Proc Callback function while studying it
> from MSDN library.

Here is some more info from my TAPI and TSPI FAQ:
Q: Is there something special with asynchronous functions in TAPI2 ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Is_there_6

0 new messages