IMStream::Seek

The IMStream::Seek method moves the stream cursor to the specified offset.

Quick info

HRESULT Seek(long lPos, long lOrigin) 

Parameters

lPos
[in] - the offset from the origin
lOrigin
[in] - origin to which iPos is relative

Return values

The following value is returned when this method is called:
S_OK
Success status