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

cryptowinrt: Force debug info in critical sections.

This commit is contained in:
Paul Gofman 2024-03-07 16:24:34 -06:00 committed by Alexandre Julliard
parent 2f094cbfe6
commit 8d933bf187

View file

@ -355,7 +355,7 @@ static HRESULT async_info_create( IUnknown *invoker, IUnknown *param, async_oper
if ((impl->invoker = invoker)) IUnknown_AddRef( impl->invoker );
if ((impl->param = param)) IUnknown_AddRef( impl->param );
InitializeCriticalSection( &impl->cs );
InitializeCriticalSectionEx( &impl->cs, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO );
impl->cs.DebugInfo->Spare[0] = (DWORD_PTR)( __FILE__ ": async_info.cs" );
*out = &impl->IWineAsyncInfoImpl_iface;