Platform SDK: DirectX

DirectSound3DBuffer.GetDirectSoundBuffer

The DirectSound3DBuffer.GetDirectSoundBuffer method returns a DirectSoundBuffer object.

object.GetDirectSoundBuffer() As DirectSoundBuffer

Parameters

object
Object expression that resolves to a DirectSound3DBuffer object.

Return Values

If the method succeeds, a DirectSoundBuffer object is returned.

Error Codes

If the method fails, an error is raised and Err.Number is set.

Remarks

This method can be used to obtain a DirectSoundBuffer when the DirectSoundBuffer from which the DirectSound3DBuffer object was obtained is no longer available.