HrCfgDestroyAdviseObj

The HrCfgDestroyAdviseObj function ends the monitoring of a MAPI session.

Quick Info

Header file: EDKCFG.H
Library: EDKCFG.LIB

HRESULT HrCfgDestroyAdviseObj(
  LPADVISEOBJ lpAdviseObj  
);
 

Parameters

lpAdviseObj
Input parameter. Points to the ADVISEOBJ structure containing advise object to destroy.

Return Values

See Return Values.

Remarks

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.

See Also

HrCfgAdvise, HrCfgPollAdviseObj