Module: wine Branch: master Commit: 0efd48113e767667fa1a255ee5b3ce5be9ee697f URL: https://gitlab.winehq.org/wine/wine/-/commit/0efd48113e767667fa1a255ee5b3ce5...
Author: Paul Gofman pgofman@codeweavers.com Date: Thu Feb 15 14:58:03 2024 -0600
mapi32: Force debug info in critical sections.
---
dlls/mapi32/prop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/mapi32/prop.c b/dlls/mapi32/prop.c index 95176829f7e..8018ceecd4d 100644 --- a/dlls/mapi32/prop.c +++ b/dlls/mapi32/prop.c @@ -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; }