Microsoft DirectX 9.0


This topic applies to Windows XP Service Pack 1 only.

The CurrentPosition property indicates the current playback position. Setting this property causes the object to seek to the specified position.


objVidPlayback.CurrentPosition As Long


This property takes no parameters.

Error Codes

If the property fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

Returns the position. The units are determined by the value of the PositionMode property.


This property is read/write.

See Also