IConnectionPoint::EnumConnections method (ocidl.h)
Creates an enumerator object to iterate through the current connections for this connection point.
Syntax
HRESULT EnumConnections(
[out] IEnumConnections **ppEnum
);
Parameters
[out] ppEnum
A pointer to an IEnumConnections interface pointer that receives the newly created enumerator.
Return value
This method can return the standard return values E_OUTOFMEMORY and E_UNEXPECTED, as well as the following values.
Return code | Description |
---|---|
|
The enumerator object was created successfully. |
|
The address in ppEnum is not valid. For example, it may be NULL. |
|
The connection point does not support enumeration. |
Remarks
The caller is responsible for calling Release when the enumerator is no longer needed.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Target Platform | Windows |
Header | ocidl.h |