Re: TSPI_lineDevSpecific : Login and Password
- From: "Andreas Marschall [MVP TAPI]" <Andreas.Marschall@xxxxxxxxxx>
- Date: Sun, 22 Jun 2008 18:26:25 +0200
<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.
.
- References:
- TSPI_lineDevSpecific : Login and Password
- From: jhguan
- Re: TSPI_lineDevSpecific : Login and Password
- From: Andreas Marschall [MVP TAPI]
- Re: TSPI_lineDevSpecific : Login and Password
- From: jhguan
- TSPI_lineDevSpecific : Login and Password
- Prev by Date: Re: TSPI_lineDevSpecific : Login and Password
- Next by Date: Re: TSPI_lineDevSpecific : Login and Password
- Previous by thread: Re: TSPI_lineDevSpecific : Login and Password
- Next by thread: Re: TSPI_lineDevSpecific : Login and Password
- Index(es):
Relevant Pages
|