CmReleaseConnection (Compact 2013)
3/26/2014
This function releases a connection.
Syntax
CM_RESULT CmReleaseConnection(
__in CM_CONNECTION_HANDLE hConnection);
);
Parameters
- phConnection
[in] A pointer to a CM_SESSION_HANDLE of the connection.
Return Value
Value |
Description |
---|---|
CMRE_SUCCESS |
The operation completed successfully. |
CMRE_INVALID_CONNECTION |
The name of the connection is not valid. |
CMRE_UNEXPECTED |
An unexpected failure occurred. |
Requirements
Header |
cmnet.h |
Library |
cmnet.lib |