Seek method
Moves the current seek offset.
Syntax
HRESULT retVal = object.Seek(dlibMove, dwOrigin, plibNewPosition);
Parameters
- dlibMove [in]
-
Type: LARGE_INTEGER
A large integer value that indicates how far to move the offset.
- dwOrigin [in]
-
Type: DWORD
A DWORD value that indicates where the move begins.
-
The starting point is zero or the beginning of the file. If FILE_BEGIN is specified, dlibMove is interpreted as an unsigned location for the new file pointer.
-
The current value of the file pointer is the starting point.
-
The current end-of-file position is the starting point. This method fails if the content length is unknown.
- plibNewPosition [out]
-
Type: ULARGE_INTEGER
The address of an unsigned long integer value that indicates the new offset.
See also
Show: