wmiutil: Force debug info in critical sections.

This commit is contained in:
Paul Gofman 2024-03-04 10:37:29 -06:00 committed by Alexandre Julliard
parent 3fd83279c0
commit 5152e73779

View file

@ -1282,7 +1282,7 @@ HRESULT WbemPath_create( LPVOID *ppObj )
path->IWbemPath_iface.lpVtbl = &path_vtbl;
path->refs = 1;
InitializeCriticalSection( &path->cs );
InitializeCriticalSectionEx( &path->cs, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO );
path->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": wmiutils_path.cs");
init_path( path );