UCOMIStream.Seek(Int64, Int32, IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Changes the seek pointer to a new location relative to the beginning of the stream, to the end of the stream, or to the current seek pointer.
public:
void Seek(long dlibMove, int dwOrigin, IntPtr plibNewPosition);
public void Seek (long dlibMove, int dwOrigin, IntPtr plibNewPosition);
abstract member Seek : int64 * int * nativeint -> unit
Public Sub Seek (dlibMove As Long, dwOrigin As Integer, plibNewPosition As IntPtr)
Parameters
- dlibMove
- Int64
Displacement to add to dwOrigin
.
- dwOrigin
- Int32
Specifies the origin of the seek. The origin can be the beginning of the file, the current seek pointer, or the end of the file.
- plibNewPosition
-
IntPtr
nativeint
On successful return, contains the offset of the seek pointer from the beginning of the stream.
Remarks
For more information, please see the existing documentation for IStream::Seek
in the MSDN library.