Hi,
I monitor ActiveSync status like so:
RegistryNotifyWindow(
HKEY_CURRENT_USER,
L"Software\\Microsoft\\ActiveSync\\Partners\\{<key>}",
L"LastSyncResult",
hWnd,
WM_USER_LASTSYNCRESULT,
0,
NULL,
&g_hNotify);
The docs say that when the above key is deleted, I will get notified with a
zero value.
This works fine, except, while the above notification monitoring is active,
user is unable to delete the ActiveSync account.
ActiveSync > Menu > Options> Delete.
The following messagebox is displayed:
[Can't save settings]
Synchronization settings cannot be saved because your device is currently
synchronizing....
Why? Somehow ActiveSync is aware that I have registered with snapi for
notifications.
I don't want this behaviour.
Any clues?
Lisa