Check the return value of IDirectSoundImpl_Create() to detect errors.
Always set *ppDS to NULL in case of error.

1 file changed