PyIDataObject.DAdvise

int = DAdvise(pformatetc, advf , pAdvSink )

Connects the object to an interface that will receive notifications when its data changes

Parameters

pformatetc : PyFORMATETC

Defines the type of data for which the sink will receive notifications.

advf : int

Combination of values from ADVF enum. (which currently do not appear in any of the constants modules!)

pAdvSink : PyIAdviseSink

Currently this interface is not wrapped.

Return Value

Returns a unique number that is used to identify the connection