Share via


LyncClient Class

The LyncClient class encapsulates all client platform features. The class can be co-created.

Namespace:  UCCollaborationLib
Assembly:  Microsoft.Office.Uc (in Microsoft.Office.Uc.dll)

Syntax

CComPtr &ltILyncClient;> pILyncClient; 
 hr = CoCreateInstance( 
   __uuidof(LyncClient),
   NULL,
   CLSCTX_LOCAL_SERVER,
   __uuidof(ILyncClient),
   (LPVOID *) &pILyncClient;   );

Remarks

The LyncClient class must be cocreated and the ILyncClient interface obtained before you can gain access to any client platform functionality. The client platform is a user agent client and represents a SIP endpoint. All conversation invitations and the local user's contact list are addressed to the SIP endpoint represented by LyncClient. For this reason, contacts and groups are obtained from LyncClient through IContactManager interface. All other features are obtained through other interfaces obtained from ILyncClient. This class implements the ILyncClient interface. The default interface is ILyncClient. An application obtains the default interface on the class instance directly. Non default interfaces, if any, can be obtained by calling QueryInterface on the default interface. An instance of this class is also a source of the events defined in the _ILyncClientEvents dispinterface. The class identifier (CLSID) of this class is a9f3c4a7-6de0-48e4-8184-ba7d6d985908. This class can be cocreated.

Inheritance Hierarchy

Object
  UCCollaborationLib.LyncClient

See Also

LyncClient Members

UCCollaborationLib Namespace