CaptureBuffer.GetCurrentPosition Method

Language:

Retrieves the position of the capture and read cursors in the CaptureBuffer object.

Definition

Visual Basic Public Sub GetCurrentPosition( _
    ByRef currentCapturePosition As Integer, _
    ByRef currentReadPosition As Integer _
)
C# public void GetCurrentPosition(
    out int currentCapturePosition,
    out int currentReadPosition
);
C++ public:
void GetCurrentPosition(
    [Out] intcurrentCapturePosition,
    [Out] intcurrentReadPosition
);
JScript public function GetCurrentPosition(
    currentCapturePosition : int,
    currentReadPosition : int
);

Parameters

currentCapturePosition System.Int32
An integer that receives the offset, in bytes, of the capture cursor position in the capture buffer.
currentReadPosition System.Int32
An integer that receives the offset, in bytes, of the read cursor position in the capture buffer.

Remarks

The capture cursor is ahead of the read cursor. The data after the read position, up to and including the capture position, is not necessarily valid data.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center