Commit 04dad621 authored by Alexandre Julliard's avatar Alexandre Julliard

winefile: Refresh the drives and files upon WM_DEVICECHANGE.

parent 913df5b1
......@@ -2521,6 +2521,10 @@ static LRESULT CALLBACK FrameWndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM
resize_frame(hwnd, LOWORD(lparam), HIWORD(lparam));
break; /* do not pass message to DefFrameProc */
case WM_DEVICECHANGE:
SendMessage(hwnd, WM_COMMAND, MAKELONG(ID_REFRESH,0), 0);
break;
#ifndef _NO_EXTENSIONS
case WM_GETMINMAXINFO: {
LPMINMAXINFO lpmmi = (LPMINMAXINFO)lparam;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment