Re: TSPI_lineDevSpecific : Login and Password

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



<jhguan@xxxxxxx> schrieb im Newsbeitrag
news:2affab2f-0a55-4098-ae22-02d7eefac1fe@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I already implemented all functions TSPI_, but for this function I do
not know how to do it. You can give me a small example in C++?

LONG TSPIAPI TSPI_lineDevSpecific(
DRV_REQUESTID dwRequestID,
HDRVLINE hdLine,
DWORD dwAddressID,
HDRVCALL hdCall,
LPVOID lpParams,
DWORD dwSize
)
{
// check hdLine, dwAddressID, hdCall and return an appropriate LINEERR_ const
if they are bad.


// the you need to extract the arguments from lpParams
// where Params is e.g. struct that you have to define for your purposes

// then check those params and return an appropriate LINEERR_ const if they
are bad.

// then you need to do the specific things that you want to do with those
Params.

return dwRequestID;
}

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
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.



.



Relevant Pages

  • Re: TSPI_lineDevSpecific
    ... In addition to returning dwRequestID your TSP is required to send a LINE_REPLY ... TAPI / TSP Developer and Tester ... * Please post all messages and replies to the newsgroup so all may ... long lParam1; ...
    (microsoft.public.win32.programmer.tapi)
  • Re: dwRequestID parameter
    ... dwRequestID is generated by TAPISRV and passed to TSP and TAPI app. ... it adds a parameter named as dwRequestID into the TSPI_lineMakeCall ... TAPI / TSP Developer and Tester ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: dwRequestID parameter
    ... dwRequestID is generated by TAPISRV and passed to TSP and TAPI app. ... it adds a parameter named as dwRequestID into the TSPI_lineMakeCall ... TAPI / TSP Developer and Tester ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: TSPI_lineDevSpecific
    ... In addition to returning dwRequestID your TSP is required to send a LINE_REPLY ... TAPI / TSP Developer and Tester ... TAPI development around the world (Frappr! ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: How to install the TAPI Service Provider(TSP) using Setup.exe
    ... You need to check the "Params" checkbox within TB20 to alter the function ... TAPI / TSP Developer and Tester ... TAPI development around the world (Frappr! ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)