Microsoft DirectX 9.0

Building DirectSound Projects

Projects need to include the Dsound.h header file. If you are using DirectSound in conjunction with DirectMusic, this header is included when you include Dmusici.h.

If you are using the DirectSound API directly and want to be able to use helper functions such as DirectSoundCreate8, be sure to link to Dsound.lib and include the appropriate folder in the library search path.

You must also ensure that your application has access to the GUIDs used by DirectSound. Define INITGUID before all other preprocessor directives, or link to Dxguid.lib.