Microsoft DirectX 8.0 (Visual Basic)

DirectSoundPrimaryBuffer8.GetStatus

Retrieves the status of the sound buffer.

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.