Редагувати

Поділитися через


CONNECTDATA Struct

Definition

Caution

Use System.Runtime.InteropServices.ComTypes.CONNECTDATA instead. http://go.microsoft.com/fwlink/?linkid=14202

Use 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
[<System.Runtime.InteropServices.ComVisible(false)>]
type CONNECTDATA = struct
[<System.Obsolete("Use System.Runtime.InteropServices.ComTypes.CONNECTDATA instead. http://go.microsoft.com/fwlink/?linkid=14202", false)>]
type CONNECTDATA = struct
Public Structure CONNECTDATA
Inheritance
CONNECTDATA
Attributes

Remarks

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

For more information about CONNECTDATA, see the MSDN Library.

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