IDirectSound
Microsoft Windows CE .NET 4.2
IDirectSound

Applications use the methods of the IDirectSound interface to create DirectSound objects and set up the environment. This section is a reference to the methods of this interface.

The interface is obtained by using the DirectSoundCreate function.

The methods of the IDirectSound interface can be organized into the following groups:

Initialization Initialize
  SetCooperativeLevel
Buffer creation  CreateSoundBuffer
  DuplicateSoundBuffer
Device capabilities  GetCaps
Memory management  Compact
Speaker configuration  Not supported on Windows CE

The IDirectSound interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:

IUnknown AddRef
  QueryInterface
  Release

The LPDIRECTSOUND type is defined as a pointer to the IDirectSound interface.

typedef struct IDirectSound    *LPDIRECTSOUND;

Requirements

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Dsound.h.
Link Library: Dsound.lib.

See Also

DirectSoundCreate


 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View