다음을 통해 공유


IConnectionPoint::EnumConnections (Windows Embedded CE 6.0)

1/6/2010

This method creates an enumerator object to iterate through the current connections for this connection point.

Syntax

HRESULT EnumConnections(
  IEnumConnections** ppEnum 
);

Parameters

  • ppEnum
    [out] Address of IEnumConnections* pointer variable that receives the interface pointer to the newly created enumerator.

Return Value

This method supports the standard return values E_OUTOFMEMORY and E_UNEXPECTED, as well as the following:

  • S_OK
    The enumerator object was successfully created.
  • E_POINTER
    The address in ppEnum is not valid. For example, it can be NULL.
  • E_NOTIMPL
    The connection point does not support enumeration.

Remarks

To determine whether the platform supports this interface, see Determining Supported COM APIs.

Notes to Callers

The caller is responsible for calling (*ppEnum)->Release when the enumerator is no longer needed.

Requirements

Header ocidl.h, ocidl.idl
Library ole32.lib, uuid.lib
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

IConnectionPoint
IEnumConnections