Microsoft DirectX 9.0 SDK Update (October 2004)

CaptureBuffer.GetCurrentPosition Method

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET Public Sub GetCurrentPosition( _
    ByRef currentCapturePosition As Integer, _
    ByRef currentReadPosition As Integer _
)
C# public void GetCurrentPosition(
    out int currentCapturePosition,
    out int currentReadPosition
);
Managed C++ public: void GetCurrentPosition(
    int *currentCapturePosition,
    int *currentReadPosition
);
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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