TAPIaroundTheWorld
(1)
DwRequestID
(1)
RequestID
(1)
ExMVP
(1)
LineMakeCall
(1)
Callback
(1)
Windows
(1)
Thnaks
(1)

dwRequestID parameter

Asked By Mohit
18-Nov-09 01:11 AM
Hello Friends,

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

I am 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

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

Andreas Marschall [exMVP TAPI] replied to Mohit
18-Nov-09 01:16 AM
Mohit,
dwRequestID is generated by TAPISRV and passed to TSP and TAPI app.


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.

"Andreas Marschall [exMVP TAPI]" wrote:Andreas,Thnaks for your kind reply.

Mohit replied to Andreas Marschall [exMVP TAPI]
18-Nov-09 02:01 AM
Andreas,

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

Mohit

Mohit, you are welcome.

Andreas Marschall [exMVP TAPI] replied to Mohit
18-Nov-09 02:20 AM
Mohit, you are welcome.


Here is some more info from my TAPI and TSPI FAQ:
Q: Is there isomething 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

--
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.
Post Question To EggHeadCafe