This message is sent to an IOProc by mmioSeek
to request that the current file position (as maintained by the I/O
procedure and stored in the lDiskOffset field of the MMIOINFO
structure) be moved.
pmmioinfo (PMMIOINFO)
A
pointer to an MMIOINFO data structure.
usMsg (USHORT)
lParam1 (LONG)
The
signed distance (offset) to move, specified as bytes.
lParam2 (LONG)
Contains
one of the following values:
SEEK_SET
Moves the file pointer to be lParam1
bytes from the beginning of the file.
MMIO_SEEK_IFRAME
This results in a seek to the nearest I-frame preceding
the position determined by lParam1 and the other lParam2 flags.
SEEK_CUR
Moves the file
position to be lParam1 bytes from the current position. lParam1
can be positive or negative.
SEEK_END
Moves
the file position to be lParam1 bytes from the end of the file. lParam1
can be positive or negative.
rc (ULONG)
Returns
the new file position or MMIO_ERROR if the seek was not successful.
[Back]
[Next]