Commit 0efd4811 authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

mapi32: Force debug info in critical sections.

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