- Document the mega-haxxx

svn path=/trunk/; revision=39904
This commit is contained in:
Johannes Anderwald
2009-03-07 20:50:38 +00:00
parent 179386fce6
commit 52ccdffece
+8 -4
View File
@@ -305,11 +305,15 @@ WriteFileEx_Committer2(
if ( ! WriteFileEx(KernelHandle, &DeviceInfo, sizeof(WDMAUD_DEVICE_INFO), (LPOVERLAPPED)Overlap, CompletionRoutine))
{
// TODO
SND_TRACE(L"WriteFileEx failed with %x\n", GetLastError());
SND_TRACE(L"WriteFileEx failed with %x\n", GetLastError());
}
else
{
/* HACK
* The CompletionRoutine should be called by the system
*/
CompletionRoutine(0, Length, (LPOVERLAPPED)Overlap);
}
CompletionRoutine(0, Length, (LPOVERLAPPED)Overlap);
return MMSYSERR_NOERROR;
}