ConnMgrEstablishConnection

The ConnMgrEstablishConnection function creates a connection request.

Syntax

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

Parameters

  • pConnInfo
    Pointer to the CONNMGR_CONNECTIONINFO structure, which contains the parameters that describe the requested connection.
  • phConnection
    Pointer to a variable of type HANDLE into which the returned connection handle is placed.

Return Values

  • S_OK
    The connection was successfully requested.
  • Error code
    The connection could not be requested.

Requirements

Pocket PC: Windows Mobile 2000 and later
OS Versions: Windows CE 3.0 and later
Header: connmgr.h
Library: cellcore.lib

See Also

Connection Manager

Connection Manager API Functions

CONNMGR_CONNECTIONINFO

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.