Re: Issue with LINEAGENTGROUPENTRY -> Name

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Andreas Marschall [MVP TAPI] (Andreas.Marschall_at_I-B-A-M.de)
Date: 01/26/05


Date: Wed, 26 Jan 2005 18:06:34 +0100


<snovi@comcast.net> schrieb im Newsbeitrag
news:1106756967.020606.269210@z14g2000cwz.googlegroups.com...
> Andreas - Oops, I was using DWORD instead of LONG for Status. Thanks
> for the clarification!
>
> BTW - Where did you find description "The operation is not supported by
> the underlying service provider" for this error? In TAPI.H error code
> 0x80000049 corresponds to LINEERR_OPERATIONUNAVAIL. And in MSDN online
> (in the link provided on your site -
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tapi/tapi2/lineerr__constants.asp),
> LINEERR_OPERATIONUNAVAIL corresponds to "The operation is not
> available, such as for the given device or specified line." I think the
> description provided in your reply is much more specific/informative.

Sergei,
the LINE_REPLY is casting the LONG to (DWORD) but originally it is LONG like
the return value from lineGetAgentGroupList().

The error description is obtained via FormatMessage() and the
TAPIERROR_FORMATMESSAGE macro.
Please note that the MSDN sample for TAPIERROR_FORMATMESSAGE seems not to work
but htis one does:
http://groups-beta.google.com/group/microsoft.public.win32.programmer.tapi/browse_thread/thread/cb96f390205cc140/a616619a3e984e6e?q=TAPIERROR_FORMATMESSAGE+group:microsoft*+author:Andreas+author:Marschall&_done=%2Fgroups%3Fhl%3Den%26lr%3D%26ie%3DISO-8859-1%26safe%3Dimages%26num%3D100%26q%3DTAPIERROR_FORMATMESSAGE+group:microsoft*+author:Andreas+author:Marschall%26&_doneTitle=Back+to+Search&&d#a616619a3e984e6e

I have authored a tool to dump all TAPI error codes / messages: TotoŽ Tool
TAPI_Error_Codes
> > See my TAPI and TSPI FAQ:
> > Q: Where are TAPI errors codes defined ?
> >
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Where_are

-- 
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
* 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: lineInitialize do no work in IIS context
    ... Hi Andreas, sorry, i wrote 0048 for sort. ... > 00048 is not a TAPI error code. ... > See my TAPI and TSPI FAQ: ... > * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: lineInitialize do no work in IIS context
    ... > Hi Andreas, sorry, i wrote 0048 for sort. ... >> 00048 is not a TAPI error code. ... Where can I download TAPI Browser? ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Starting a Dial Up connection?
    ... > From the Function I had I recieved this error code "30064771159" how ... C: DWORD InternetDial( ... indicates that a ANSI version (i.e. InternetDialA) will be used on Win9x ... It takes 4 bytes so you can declare it as Integer but all ...
    (microsoft.public.dotnet.languages.vb)
  • Re: trouble with TAPI 2.1/3.0 and Alcatel OmniPCX
    ... I always get the following error code ... If it is TB20 then please post a complete TB20.log. ... The return value of lineInitializeEx() is of data type LONG that is an 4 bytes ... See my TAPI and TSPI FAQ: ...
    (microsoft.public.win32.programmer.tapi)
  • Re: how to hang up a call?
    ... the last response sometimes returned another error code "x10068", ... See my TAPI and TSPI FAQ: ... TAPI development around the world (Frappr! ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)