次の方法で共有


CONNECTDATA (Windows CE 5.0)

Send Feedback

This structure is enumerated by the IEnumConnections::Next method. Each structure describes a connection that exists to a given connection point.

typedef struct tagCONNECTDATA { IUnknown* pUnk;DWORDdwCookie;} CONNECTDATA; 

Members

  • pUnk
    Pointer to the IUnknown interface on a connected advisory sink.

    The caller must call IUnknown::Release using this pointer when the CONNECTDATA structure is no longer needed.

    The caller is responsible for calling Release for each CONNECTDATA structure enumerated through IEnumConnections::Next.

  • dwCookie
    Connection where this value is the same token that is returned originally from calls to IConnectionPoint::Advise.

    This token can be used to disconnect the sink pointed to by a pUnk by passing dwCookie to IConnectionPoint::Unadvise.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Ocidl.h.

See Also

IConnectionPoint | IEnumConnections | IUnknown

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.