mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 14:34:57 +08:00
[SHELL32][EXPLORER] Update system-wide environment variables (#663)
- Implement shell32 RegenerateUserEnvironment() function and use it. - CShellBrowser and CDesktopBrowser implements WM_SETTINGCHANGE actions. CORE-1459, CORE-14397
This commit is contained in:
committed by
Hermès BÉLUSCA - MAÏTO
parent
25004bb5b4
commit
a882ec7a02
@@ -390,6 +390,9 @@ LRESULT CDesktopBrowser::OnSize(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &b
|
||||
|
||||
LRESULT CDesktopBrowser::OnSettingChange(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
|
||||
{
|
||||
LPVOID lpEnvironment;
|
||||
RegenerateUserEnvironment(&lpEnvironment, TRUE);
|
||||
|
||||
if (m_hWndShellView)
|
||||
{
|
||||
/* Forward the message */
|
||||
|
||||
Reference in New Issue
Block a user