Microsoft SDK for Java

Seek

This method of the IStream Interface changes the seek pointer to a new location relative to the beginning of the stream, the end of the stream, or the current seek pointer.

Syntax

public long Seek(long dlibMove, int dwOrigin);

Return Value

Returns the new seek pointer of the stream.

Parameters

dlibMove The offset relative to dwOrigin.
dwOrigin The origin of the offset; must be STREAM_SEEK_CUR, STREAM_SEEK_END, or STREAM_SEEK_SET.

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