diff --git "a/dll/win32/shell32/wine/control.c" "b/dll/win32/shell32/wine/control.c" index 7485efcf261..6cad11650c3 100644 --- "a/dll/win32/shell32/wine/control.c" +++ "b/dll/win32/shell32/wine/control.c" @@ -67,7 +67,15 @@ CPlApplet* Control_LoadApplet(HWND hWnd, LPCWSTR cmd, CPanel* panel) CPlApplet* applet; DWORD len; unsigned i; +#ifdef __REACTOS__ + /* This insures that if CPL_INQUIRE is not implemented we will + * start with the members of 'CPLINFO info' being zero. + * Examples: ERAMNT.CPL and SWITCHIT.CPL in CORE-18535 and CORE-19013. */ + CPLINFO info = { 0 }; +#else CPLINFO info; +#endif + NEWCPLINFOW newinfo; if (!(applet = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*applet))))