The HrCfgDestroyAdviseObj function ends the monitoring of a MAPI session.
Header file: | EDKCFG.H |
Library: | EDKCFG.LIB |
HRESULT HrCfgDestroyAdviseObj(
LPADVISEOBJ lpAdviseObj
);
See Return Values.
The HrCfgDestroyAdviseObj function releases any resources allocated for the monitoring of a MAPI session that began with a call to the HrCfgCreateAdviseObj function, which in turn calls HrCfgUnadvise for any extension data sections that are actively being monitored.
For more information on this function, see Using the Configuration Functions.
HrCfgAdvise, HrCfgPollAdviseObj