Partager via


CmReleaseConnection (Compact 7)

3/12/2014

This function releases a connection.

Syntax

CM_RESULT CmReleaseConnection(
__in CM_CONNECTION_HANDLE hConnection);
);

Parameters

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

See Also

Reference

Connection Manager Connectivity Functions
CM_SESSION_HANDLE