CmDeleteConnectionConfig (Compact 7)
3/12/2014
This API deletes an existing connection.
Syntax
CM_RESULT CmDeleteConnectionConfig(
__in const WCHAR* pszConnection,
);
Parameters
- pszConnection
[in] Pointer to the connection name as provided by CmEnumConnectionsConfig.
Return Value
Returns one of the following values from the CM_RESULT enumeration:
Value | Description |
---|---|
CMRE_SUCCESS |
The operation completed successfully. |
CMRE_ACCESS_DENIED |
The caller lacks sufficient privilege to perform the operation. |
CMRE_UNEXPECTED |
An unexpected failure occurred. |
Requirements
Header |
cmnet.h |
Library |
cmnet.lib |