1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

mapi32: Force debug info in critical sections.

This commit is contained in:
Paul Gofman 2024-02-15 14:58:03 -06:00 committed by Alexandre Julliard
parent bbf222ca72
commit 0efd48113e

View File

@ -2335,7 +2335,7 @@ SCODE WINAPI CreateIProp(LPCIID iid, ALLOCATEBUFFER *lpAlloc,
lpPropData->ulObjAccess = IPROP_READWRITE;
lpPropData->ulNumValues = 0;
list_init(&lpPropData->values);
InitializeCriticalSection(&lpPropData->cs);
InitializeCriticalSectionEx(&lpPropData->cs, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO);
lpPropData->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": IPropDataImpl.cs");
*lppPropData = &lpPropData->IPropData_iface;
}