Microsoft DirectX 8.1 (Visual Basic)

CONST_DSBLOCKFLAGS

The CONST_DSBLOCKFLAGS enumeration is used in the flags parameter of the DirectSoundSecondaryBuffer8.ReadBuffer and DirectSoundSecondaryBuffer8.WriteBuffer methods to specify what portion of the buffer is to be read or written to.

Syntax

Enum CONST_DSBLOCKFLAGS
  DSBLOCK_DEFAULT         = 0
  DSBLOCK_ENTIREBUFFER    = 2
  DSBLOCK_FROMWRITECURSOR = 1
End Enum

Constants

DSBLOCK_DEFAULT

Read from or write to the position specified in the start parameter.

DSBLOCK_ENTIREBUFFER

Read from or write to the entire buffer. The size parameter is ignored.

DSBLOCK_FROMWRITECURSOR

Read from or write to the write cursor. The start parameter is ignored.