Share via


CmCreateSession (Compact 7)

3/12/2014

This function creates a connection session for the purpose of selecting and acquiring a connection.

Syntax

CM_SESSION_HANDLE CmCreateSession ();

Parameters

None.

Return Value

Returns a handle to a newly created session.

Example

DECLARE_HANDLE( CM_SESSION_HANDLE );
CM_SESSION_HANDLE CmCreateSession();

Requirements

Header

cmnet.h

Library

cmnet.lib

See Also

Reference

Connection Manager Connectivity Functions