Microsoft DirectX 8.1 (Visual Basic)

DirectSound3DBuffer8.GetDirectSoundBuffer

The GetDirectSoundBuffer method returns the secondary buffer from which the 3-D buffer was created.

Syntax

object.GetDirectSoundBuffer() As DirectSoundSecondaryBuffer8

Parts

object

Resolves to a DirectSound3DBuffer8 object.

Return Values

Returns a DirectSoundSecondaryBuffer8 object.

Error Codes

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

Remarks

This method can be used to obtain a DirectSoundSecondaryBuffer8 object when the DirectSoundSecondaryBuffer8 object from which the DirectSound3DBuffer8 object was created is no longer available.