|
|
◆ Seek()
| virtual HRESULT STDMETHODCALLTYPE Seek |
( |
LARGE_INTEGER | dlibMove, |
|
|
DWORD | dwOrigin, |
|
|
ULARGE_INTEGER * | plibNewPosition ) |
|
overridevirtual |
The method changes the seek pointer to a new location. The new location is relative to either the beginning of the stream, the end of the stream, or the current seek pointer.
- Parameters
-
| dlibMove | The displacement to be added to the location indicated by the dwOrigin parameter. If dwOrigin is STREAM_SEEK_SET, this is interpreted as an unsigned value rather than a signed value. |
| dwOrigin | The origin for the displacement specified in dlibMove. The origin can be the beginning of the file (STREAM_SEEK_SET), the current seek pointer (STREAM_SEEK_CUR), or the end of the file (STREAM_SEEK_END). |
| plibNewPosition | A pointer to the location where this method writes the value of the new seek pointer from the beginning of the stream. You can set this pointer to NULL. In this case, this method does not provide the new seek pointer. |
- Returns
S_OK if operation completed with success.
|