Partager via


ICcServer::GetConnectionFromId (Windows CE 5.0)

Send Feedback

This method returns an active reference to a connection object, given a ID.

HRESULT GetConnectionFromId(  BSTR bstrConnectionId,  ICcConnection** ppiConnection);

Parameters

  • bstrConnectionId
    [in] A connection ID representing an unique connection.
  • ppiConnection
    [out, retval] ICcConnection object represented by bstrConnectionId.

Return Values

If the method fails, it returns an HRESULT error code. Otherwise, the method returns one of the following values.

Value Description
S_OK Indicates success.
E_INVALIDARG Indicates invalid input arguments.

Requirements

OS Version: Windows 2000, Windows XP Home, Windows XP Pro, Windows Server 2003, and Windows Server 2003 Service Pack 1.
Header: CcServer.h.
Link Library: none.

See Also

Core Connectivity Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.