Microsoft DirectX 8.0 (Visual Basic) |
Retrieves the position of the play and write cursors.
object.GetCurrentPosition(cursors As DSCURSORS)
If the method fails, an error is raised and Err.Number may be set to one of the following values.
DSERR_INVALIDPARAM |
DSERR_PRIOLEVELNEEDED |
The write cursor is the point in the buffer ahead of which it is safe to write data to the buffer. Data should not be written to the part of the buffer after the play cursor and before the write cursor. For more information, see Play and Write Cursors.