Group: Windows Multimedia - Library: winmm
LONG mmioSeek(
HMMIO hmmio,
LONG lOffset,
int iOrigin
);
DECLARE INTEGER mmioSeek IN winmm;
INTEGER hmmio,;
LONG lOffset,;
INTEGER iOrigin
hmmio File handle of the file to seek in.
lOffset Offset to change the file position.
iOrigin Flags indicating how the offset specified by lOffset is interpreted.
Returns the new file position, in bytes, relative to the beginning of the file. If there is an error, the return value is - 1.
#DEFINE SEEK_CUR 1
#DEFINE SEEK_END 2
#DEFINE SEEK_SET 0