Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

What is GUID in TAPI?

10 views
Skip to first unread message

Mohit

unread,
Jan 1, 2010, 1:30:01 AM1/1/10
to
Hi friends,

Can any one tell me what is this GUID used in the TAPI.
Actually, I had found it in the LinePermanentGuid and ProtocolGuid
parameters of LINDEVCAPS structure.

Thanks,
Mohit

Andreas Marschall [exMVP TAPI]

unread,
Jan 2, 2010, 7:08:53 AM1/2/10
to
"Mohit" <Mo...@discussions.microsoft.com> schrieb im Newsbeitrag
news:9A14F601-E656-4550...@microsoft.com...

> Can any one tell me what is this GUID used in the TAPI.
> Actually, I had found it in the LinePermanentGuid and ProtocolGuid
> parameters of LINDEVCAPS structure.

Mohit,
please see MSDN, TAPI.H and TAPI3.H for details:

PermanentLineGuid
GUID permanently associated with the line device.

ProtocolGuid
Current TAPI protocol. This member of the structure is available only if the
negotiated TAPI version is 3.0 or higher. The protocols are declared in
tapi3.h.

typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;

#if (TAPI_CURRENT_VERSION >= 0x00020002)
GUID PermanentLineGuid; // TAPI v2.2
#endif

#if (TAPI_CURRENT_VERSION >= 0x00030000)
DWORD dwAddressTypes; // TAPI v3.0
GUID ProtocolGuid; // TAPI v3.0
DWORD dwAvailableTracking; // TAPI v3.0
#endif

const BSTR TAPIPROTOCOL_String_PSTN =
L"{831CE2D6-83B5-11D1-BB5C-00C04FB6809F}";

const BSTR TAPIPROTOCOL_String_H323 =
L"{831CE2D7-83B5-11D1-BB5C-00C04FB6809F}";

const BSTR TAPIPROTOCOL_String_Multicast =
L"{831CE2D8-83B5-11D1-BB5C-00C04FB6809F}";

--
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.

0 new messages