mapi.HrAllocAdviseSink

PyIMAPIAdviseSink = HrAllocAdviseSink(callback, context )

Creates an advise sink object, given a context specified by the calling implementation and a callback function to be triggered by an event notification.

Parameters

callback : function

OnNotify callback function

context : object

Context data to be passed to the callback