[PATCH v2 2/2] dsound: Improve IDirectSoundBufferImpl_Lock handling of invalid arguments.