CONNECTDATA 结构

定义

警告

此 API 现已过时。

请改用 CONNECTDATAUse CONNECTDATA instead.

public value class CONNECTDATA
[System.Runtime.InteropServices.ComVisible(false)]
public struct CONNECTDATA
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.CONNECTDATA instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
public struct CONNECTDATA
type CONNECTDATA = struct
Public Structure CONNECTDATA
继承
CONNECTDATA
属性

注解

CONNECTDATA 结构是通过 UCOMIEnumConnections.Next 方法枚举的类型。The CONNECTDATA structure is the type enumerated through the UCOMIEnumConnections.Next method.

有关 CONNECTDATA的详细信息,请参阅 MSDN Library。For more information about CONNECTDATA, see the MSDN Library.

字段

dwCookie

表示从 Advise(Object, Int32) 调用中返回的连接标记。Represents a connection token that is returned from a call to Advise(Object, Int32).

pUnk

表示指向已连接的通知接收器上的 IUnknown 接口的指针。Represents a pointer to the IUnknown interface on a connected advisory sink. 当不再需要 IUnknown::Release 结构时,调用方必须在此指针上调用 CONNECTDATAThe caller must call IUnknown::Release on this pointer when the CONNECTDATA structure is no longer needed.

适用于