Changed the first parameter from LPGUID (Windows headers) to REFGUID. This makes it a 'const GUID*' which means DirectSoundCreate must not change it.