WM6x IMAPIAdviseSink::OnNotify threading issues
- by violet313
specifically WM6x, winCE5x
Now my current understanding from trawling the msdn etal is that the IMAPIAdviseSink::OnNotify callback can be made from any old thread; from (ce)mapi or perhaps even from a third-party service provider.
Under WM6x, i cannot seem to coax an in-thread response by invoking HrThisThreadAdviseSink, since while this function is declared in mapiutil.h, a definition appears not to exist (in cemapi.lib or wherever??)
~But i notice that all the OnNotify callbacks i receive derive from windows messages that i am receiving on my thread (=looks to me like an in-thread implementation in any case under cemapi)...
So, can anyone confirm that this is infact always the case -or am i just getting lucky right now?
ah, i should add that my advise source is IMAPISession::Advise
erm i should also say that i might have cross-posted this on the msdn forum -but they're mostly numptys over there,,