Microsoft DirectX 8.1 (Visual Basic)

DirectSoundPrimaryBuffer8.GetStatus

The GetStatus method retrieves the status of the buffer.

Syntax

object.GetStatus() As CONST_DSBSTATUSFLAGS

Parts

object

Resolves to a DirectSoundPrimaryBuffer8 object.

Return Values

Returns the status of the sound buffer. The status can be zero, indicating that the buffer is neither lost nor playing, or a combination of the constants of the CONST_DSBSTATUSFLAGS enumeration.

Error Codes

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