Commit 8268d4e0 authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

dplayx: Force debug info in critical sections.

parent a485f6b4
......@@ -5675,7 +5675,7 @@ HRESULT dplay_create( REFIID riid, void **ppv )
obj->ref4A = 0;
obj->ref4 = 1;
InitializeCriticalSection( &obj->lock );
InitializeCriticalSectionEx( &obj->lock, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO );
obj->lock.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": IDirectPlayImpl.lock");
if ( DP_CreateDirectPlay2( obj ) )
......
......@@ -2043,7 +2043,7 @@ HRESULT dplobby_create( REFIID riid, void **ppv )
obj->ref3 = 1;
obj->ref3A = 0;
InitializeCriticalSection( &obj->lock );
InitializeCriticalSectionEx( &obj->lock, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO );
obj->lock.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": IDirectPlayLobbyImpl.lock");
DPQ_INIT( obj->msgs );
......
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