Platform SDK: Exchange Server |
The HrCfgAdvise function monitors an extension data section.
Header file: | EDKCFG.H |
Library: | EDKCFG.LIB |
HRESULT HrCfgAdvise( LPADVISEOBJ lpAdviseObj, LPSTR lpszSection, LPADVISECALLBACK lpfnCallback, LPVOID lpvUserContext );
See Return Values.
When the extension data changes, Microsoft Exchange Server calls the callback routine specified in the ADVISECALLBACK function where the lpfnCallback parameter points. The callback routine is called by the HrCfgAdvise function to initialize the extension data values.
Note You must first call the HrCfgCreateAdviseObj function to obtain the pointer to the ADVISEOBJ structure for the lpAdviseObj parameter.
For more information on this function, see Using the Configuration Functions.