Article ID: 193293
Article Last Modified on 7/11/2005
PostMessage(HWND_BROADCAST, WM_SETTINGCHANGE, 0, 0);
IMalloc *pMalloc;
if (SUCCEEDED(SHGetMalloc(&pMalloc)))
{
LPITEMIDLIST pidl;
/*
You can also use CSIDL_COMMON_STARTMENU to get the Start menu for all
users on Windows NT.
*/
if (SUCCEEDED(SHGetSpecialFolderLocation( (HWND)NULL,
CSIDL_STARTMENU,
&pidl)))
{
SHChangeNotify(SHCNE_UPDATEDIR, SHCNF_IDLIST, pidl, NULL);
// Free the PIDL returned by SHGetSpecialFolderLocation.
pMalloc->Free(pidl);
}
// Release the IMalloc interface.
pMalloc->Release();
}
151176 Policy Registry Entries (Default User)
Keywords: kbbug kbpending KB193293