IInternetProtocol::Seek
Moves the current seek offset.
Syntax
HRESULT Seek(
LARGE_INTEGER dlibMove,
DWORD dwOrigin,
ULARGE_INTEGER * plibNewPosition
);
Parameters
dlibMove
[in] Large integer value that indicates how far to move the offset.dwOrigin
[in] DWORD value that indicates where the move should begin.Value Description FILE_BEGIN 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. FILE_CURRENT Current value of the file pointer is the starting point. FILE_END Current end-of-file position is the starting point. This method fails if the content length is unknown. plibNewPosition
[out] Address of an unsigned long integer value that indicates the new offset.
Return Values
Returns S_OK if successful, or E_FAIL if the protocol does not support seekable data retrieval.
Requirements
Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: urlmon.h
Library: urlmon.lib
See Also
IInternetProtocol | IInternetProtocol : IInternetProtocolRoot
Send Feedback on this topic to the authors