Partager via


CmEnumConnectionsConfig (Compact 7)

3/12/2014

This API enumerates all configured connections.

Syntax

CM_RESULT CmEnumConnectionsConfig(
__inout_bcount(*pcbNameList) CM_CONNECTION_NAME_LIST* pNameList,
__inout DWORD* pcbNameList
);

Parameters

  • pNameList
    [in] Pointer to a storage area to place the output.

    [out] Pointer to a set of CM_CONNECTION_NAME_LIST structures.

  • pcbNameList
    [in] Pointer to a storage area to place the output.

    [out] Pointer to the count of CM_CONNECTION_NAME_LIST structures in pNameList.

Return Value

Value Description

CMRE_SUCCESS

The operation completed successfully.

CMRE_INVALID_PARAMETER

A parameter is invalid.

Requirements

Header

cmnet.h

Library

cmnet.lib

See Also

Reference

Connection Manager Connection Configuration Functions