Breyta

Deila með


CONNECTDATA Struct

Definition

Describes a connection that exists to a given connection point.

public value class CONNECTDATA
public struct CONNECTDATA
type CONNECTDATA = struct
Public Structure CONNECTDATA
Inheritance
CONNECTDATA

Remarks

The CONNECTDATA structure is the type enumerated through the IEnumConnections.Next method.

For more information, see CONNECTDATA structure.

The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see How to: Map HRESULTs and Exceptions.

Fields

dwCookie

Represents a connection token that is returned from a call to Advise(Object, Int32).

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.

Applies to