Commit 9115dc0a authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

explorer: Force debug info in critical sections.

parent 95b0e65b
...@@ -2402,7 +2402,7 @@ static void shellwindows_init(void) ...@@ -2402,7 +2402,7 @@ static void shellwindows_init(void)
CoInitialize(NULL); CoInitialize(NULL);
shellwindows.IShellWindows_iface.lpVtbl = &shellwindowsvtbl; shellwindows.IShellWindows_iface.lpVtbl = &shellwindowsvtbl;
InitializeCriticalSection(&shellwindows.cs); InitializeCriticalSectionEx(&shellwindows.cs, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO);
shellwindows.cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": shellwindows.cs"); shellwindows.cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": shellwindows.cs");
hr = CoRegisterClassObject(&CLSID_ShellWindows, hr = CoRegisterClassObject(&CLSID_ShellWindows,
......
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