Microsoft DirectX 8.0 (Visual Basic) |
Retrieves the capture and read 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 error values.
DSERR_INVALIDPARAM |
DSERR_NODRIVER |
DSERR_OUTOFMEMORY |
The capture cursor, DSCURSORS.lPlay indicates the point to which data is being captured. The read cursor, DSCURSORS.lWrite, is behind the capture cursor and indicates the point up to which data can safely be read. The data after lWrite, up to and including lPlay, is not necessarily valid data, because of buffering.