CmEnumConnectionsConfigByType (Compact 2013)
3/26/2014
This API enumerates all configured connections by type.
Syntax
CM_RESULT CmEnumConnectionsConfigByType(
__in CM_CONNECTION_TYPE Type,
__inout_bcount(*pcbNameList) CM_CONNECTION_NAME_LIST* pNameList,
__inout DWORD* pcbNameList
);
Parameters
- Type
[in] A CM_CONNECTION_TYPE value.
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; |
An output buffer is too small to contain the results of the call. |
Requirements
Header |
cmnet.h |
Library |
cmnet.lib |