Class IDirectSound (unit dsoundbs)

Inherits from

IUnknown

IDirectSound

Constructors



Functions

function Compact: HRESULT ;


function CreateSoundBuffer ( const lpDSBufferDesc: DSBUFFERDESC ; var lplpDirectSoundBuffer: IDirectSoundBuffer ; pUnkOuter: IUnknown ): HRESULT ;


function DuplicateSoundBuffer ( lpDsbOriginal: IDirectSoundBuffer ; var lplpDsbDuplicate: IDirectSoundBuffer ): HRESULT ;


function GetCaps ( var lpDSCaps: DSCAPS ): HRESULT ;


function GetSpeakerConfig ( var lpdwSpeakerConfig: DWORD ): HRESULT ;


function Initialize ( lpGuid: PGUID ): HRESULT ;


function SetCooperativeLevel ( hwnd: HWND ; dwLevel: DWORD ): HRESULT ;


function SetSpeakerConfig ( dwSpeakerConfig: DWORD ): HRESULT ;


Properties

Events

Variables


Constructors


Functions


function Compact: HRESULT ;


function CreateSoundBuffer ( const lpDSBufferDesc: DSBUFFERDESC ; var lplpDirectSoundBuffer: IDirectSoundBuffer ; pUnkOuter: IUnknown ): HRESULT ;


function DuplicateSoundBuffer ( lpDsbOriginal: IDirectSoundBuffer ; var lplpDsbDuplicate: IDirectSoundBuffer ): HRESULT ;


function GetCaps ( var lpDSCaps: DSCAPS ): HRESULT ;


function GetSpeakerConfig ( var lpdwSpeakerConfig: DWORD ): HRESULT ;


function Initialize ( lpGuid: PGUID ): HRESULT ;


function SetCooperativeLevel ( hwnd: HWND ; dwLevel: DWORD ): HRESULT ;


function SetSpeakerConfig ( dwSpeakerConfig: DWORD ): HRESULT ;


Properties


Events


Variables