Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

ConnMgrEstablishConnection

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function creates a connection request.


HRESULT WINAPI ConnMgrEstablishConnection(
  CONNMGR_CONNECTIONINFO *pConnInfo,
  HANDLE                 *phConnection
);
pConnInfo

[in] Pointer to a CONNMGR_CONNECTIONINFO structure that contains the parameters that describe the requested connection.

phConnection

[out] Pointer to a handle to the connection.

Returns S_OK if successful or returns an error code if the function call failed.

A Windows Mobile application can only have one outstanding connection request at a time. Therefore, once ConnMgrEstabishConnection or ConnMgrEstablishConnectionSync is called, they cannot be called again to create another connection request until the first connection request is released by calling ConnMgrReleaseConnection.

Headerconnmgr.h
Librarycellcore.lib
Windows Embedded CEWindows CE .NET 4.2 and later, Windows Embedded NavReady 2009
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.