IInternetProtocol::Seek (Windows CE 5.0)
This method moves the current seek offset.
HRESULTSeek(LARGE_INTEGERdlibMove,
DWORDdwOrigin,
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
OS Versions: Windows CE .NET 4.0 and later.
Header: Urlmon.h, Urlmon.idl.
Link Library: Urlmon.lib.
See Also
Send Feedback on this topic to the authors