An application sends the WM_MDIRESTORE message to a multiple document interface (MDI) client window to restore an MDI child window from maximized or minimized size.
WM_MDIRESTORE wParam = (WPARAM) (HWND) hwndRes; // handle of child to restore lParam = 0; // not used; must be zero
The return value is always zero.