Object. Enum DAdvise(IEnumSTATDATA) Method
Creates an object that can be used to enumerate the current advisory connections.
public: int EnumDAdvise([Runtime::InteropServices::Out] System::Runtime::InteropServices::ComTypes::IEnumSTATDATA ^ % enumAdvise);
public int EnumDAdvise (out System.Runtime.InteropServices.ComTypes.IEnumSTATDATA enumAdvise);
abstract member EnumDAdvise : IEnumSTATDATA -> int
Public Function EnumDAdvise (ByRef enumAdvise As IEnumSTATDATA) As Integer
When this method returns, contains an IEnumSTATDATA that receives the interface pointer to the new enumerator object. If the implementation sets
null, there are no connections to advisory sinks at this time. This parameter is passed uninitialized.
This method supports the standard return value E_OUTOFMEMORY, as well as the following:
|S_OK||The enumerator object is successfully instantiated or there are no connections.|
|OLE_E_ADVISENOTSUPPORTED||This object does not support advisory notifications.|
For more information about
IDataObject::EnumDAdvise, see the MSDN Library.