Use CONNECTDATA instead.

The following tables list the members exposed by the CONNECTDATA type.

  Name Description
Public field dwCookie Represents a connection token that is returned from a call to UCOMIConnectionPoint.Advise.
Public field pUnk Represents a pointer to the IUnknown interface on a connected advisory sink. The caller must call IUnknown::Release on this pointer when the CONNECTDATA structure is no longer needed.

  Name Description
Public method Equals  Overloaded. (Inherited from ValueType.)
Public method GetHashCode  Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Community Additions