CmUpdateConnectionConfig (Compact 2013)
3/26/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
- hConfig
[in] A CM_CONFIG_CHANGE_HANDLE.
- Option
[in] A CM_CONFIG_OPTION value.
- pConfig
[in] Pointer to a CM_CONNECTION_CONFIG structure.
- 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 |