Share via


ClipboardObject.IDataObject.EnumDAdvise(IEnumSTATDATA) Method

Definition

Creates an object that can be used to enumerate the current advisory connections.

 virtual int System.Runtime.InteropServices.ComTypes.IDataObject.EnumDAdvise([Runtime::InteropServices::Out] System::Runtime::InteropServices::ComTypes::IEnumSTATDATA ^ % enumAdvise) = System::Runtime::InteropServices::ComTypes::IDataObject::EnumDAdvise;
int IDataObject.EnumDAdvise (out System.Runtime.InteropServices.ComTypes.IEnumSTATDATA enumAdvise);
override this.System.Runtime.InteropServices.ComTypes.IDataObject.EnumDAdvise : IEnumSTATDATA -> int
Function EnumDAdvise (ByRef enumAdvise As IEnumSTATDATA) As Integer Implements IDataObject.EnumDAdvise

Parameters

enumAdvise
IEnumSTATDATA

Out parameter. When this method returns, this parameter contains a value from the IEnumSTATDATA enumeration that receives the interface reference to the new enumerator object. If the implementation sets enumAdvise to null, there are no connections to advisory sinks at this time. This parameter is passed uninitialized.

Returns

S_OK if the enumerator object is successfully instantiated or there are no connections, OLE_E_ADVISENOTSUPPORTED error if the clipboard object does not support advisory notifications, or E_OUTOFMEMROY.

Implements

Applies to