mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 12:23:29 +00:00
- Fix checking of flags found by Ged
- Remove unsupported DSBLOCK_FROMWRITECURSOR svn path=/trunk/; revision=43942
This commit is contained in:
@@ -298,11 +298,6 @@ IDirectSoundCaptureBufferImpl_Lock(
|
||||
|
||||
return DS_OK;
|
||||
}
|
||||
else if (dwFlags & DSBLOCK_FROMWRITECURSOR)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return DSERR_UNSUPPORTED;
|
||||
}
|
||||
else
|
||||
{
|
||||
ASSERT(dwOffset < This->BufferSize);
|
||||
|
||||
@@ -255,7 +255,7 @@ SecondaryDirectSoundBuffer8Impl_fnLock(
|
||||
|
||||
return DS_OK;
|
||||
}
|
||||
else if (dwFlags & DSBLOCK_FROMWRITECURSOR)
|
||||
else if (dwFlags == DSBLOCK_FROMWRITECURSOR)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return DSERR_UNSUPPORTED;
|
||||
|
||||
Reference in New Issue
Block a user