1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

ole32: Force debug info in critical sections.

This commit is contained in:
Paul Gofman 2024-02-29 21:00:07 -06:00 committed by Alexandre Julliard
parent e02b3379eb
commit 6e1e52cbc3

View file

@ -2513,7 +2513,7 @@ static HRESULT PropertyStorage_BaseConstruct(IStream *stm,
(*pps)->IPropertyStorage_iface.lpVtbl = &IPropertyStorage_Vtbl;
(*pps)->ref = 1;
InitializeCriticalSection(&(*pps)->cs);
InitializeCriticalSectionEx(&(*pps)->cs, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO);
(*pps)->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": PropertyStorage_impl.cs");
(*pps)->stm = stm;
(*pps)->fmtid = *rfmtid;