Commit 7bf7bce0 authored by Robert Reif's avatar Robert Reif Committed by Alexandre Julliard

Add CRITICAL_SECTION debug info.

parent e0760806
......@@ -934,6 +934,7 @@ HRESULT WINAPI IDirectSoundImpl_Create(
}
InitializeCriticalSection(&(pDS->mixlock));
pDS->mixlock.DebugInfo->Spare[1] = (DWORD)"DSOUND_mixlock";
RtlInitializeResource(&(pDS->lock));
*ppDS = (LPDIRECTSOUND8)pDS;
......
......@@ -1167,6 +1167,7 @@ static int OSS_InitRingMessage(OSS_MSG_RING* omr)
omr->ring_buffer_size = OSS_RING_BUFFER_INCREMENT;
omr->messages = HeapAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,omr->ring_buffer_size * sizeof(OSS_MSG));
InitializeCriticalSection(&omr->msg_crst);
omr->msg_crst.DebugInfo->Spare[1] = (DWORD)"WINEOSS_msg_crst";
return 0;
}
......
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