Refreshing network connections folder after changing phonebook
-
Hi, after copying a specific phonebook file to the standard location the network connections folder doesn't update until a refresh (F5) is forced. I tried this programmatically with the following code: PIDLIST_ABSOLUTE pidl; SHGetSpecialFolderLocation(NULL, CSIDL_CONNECTIONS, &pidl); SHChangeNotify(SHCNE_UPDATEDIR, SHCNF_IDLIST | SHCNF_FLUSH, pidl, NULL); CoTaskMemFree(pidl); Unfortunately this doesn't work. Any idea how to force the shell to update it's network connection folder? Kind regards, h
-
Hi, after copying a specific phonebook file to the standard location the network connections folder doesn't update until a refresh (F5) is forced. I tried this programmatically with the following code: PIDLIST_ABSOLUTE pidl; SHGetSpecialFolderLocation(NULL, CSIDL_CONNECTIONS, &pidl); SHChangeNotify(SHCNE_UPDATEDIR, SHCNF_IDLIST | SHCNF_FLUSH, pidl, NULL); CoTaskMemFree(pidl); Unfortunately this doesn't work. Any idea how to force the shell to update it's network connection folder? Kind regards, h