Share via


CmUpdateConnectionConfig (Compact 7)

3/12/2014

This API updates settings associated with an existing connection and frees the change handle.

Syntax

CM_RESULT CmUpdateConnectionConfig(
__in CM_CONFIG_CHANGE_HANDLE hConfig,
__in CM_CONFIG_OPTION Option,
__in_bcount(cbConfig) CM_CONNECTION_CONFIG* pConfig,
__in DWORD cbConfig
);

Parameters

  • cbConfig
    [in] Length of pConfig.

Return Value

Returns one of the following values from the CM_RESULT enumeration:

Value Description

CMRE_SUCCESS

The operation completed successfully.

CMRE_INVALID_PARAMETER

One of the parameters is NULL or invalid.

Requirements

Header

cmnet.h

Library

cmnet.lib

See Also

Reference

Connection Manager Connection Configuration Functions