Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IStream::Seek Method (Int64, Int32, IntPtr)

 

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.

Namespace:   System.Runtime.InteropServices.ComTypes
Assembly:  mscorlib (in mscorlib.dll)

void Seek(
	long long dlibMove,
	int dwOrigin,
	IntPtr plibNewPosition
)

Parameters

dlibMove
Type: System::Int64

The displacement to add to dwOrigin.

dwOrigin
Type: System::Int32

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
Type: System::IntPtr

On successful return, contains the offset of the seek pointer from the beginning of the stream.

For more information, see the existing documentation for IStream::Seek in the MSDN Library.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2017 Microsoft