Re: Issue with LINEAGENTGROUPENTRY -> Name
From: Andreas Marschall [MVP TAPI] (Andreas.Marschall_at_I-B-A-M.de)
Date: 01/26/05
- Next message: Andreas Marschall [MVP TAPI]: "Re: Problems with BlindTransfer"
- Previous message: Aitor Aiestaran: "Re: Problems with BlindTransfer"
- In reply to: snovi_at_comcast.net: "Re: Issue with LINEAGENTGROUPENTRY -> Name"
- Next in thread: snovi_at_comcast.net: "Re: Issue with LINEAGENTGROUPENTRY -> Name"
- Reply: snovi_at_comcast.net: "Re: Issue with LINEAGENTGROUPENTRY -> Name"
- Messages sorted by: [ date ] [ thread ]
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.
- Next message: Andreas Marschall [MVP TAPI]: "Re: Problems with BlindTransfer"
- Previous message: Aitor Aiestaran: "Re: Problems with BlindTransfer"
- In reply to: snovi_at_comcast.net: "Re: Issue with LINEAGENTGROUPENTRY -> Name"
- Next in thread: snovi_at_comcast.net: "Re: Issue with LINEAGENTGROUPENTRY -> Name"
- Reply: snovi_at_comcast.net: "Re: Issue with LINEAGENTGROUPENTRY -> Name"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|