hmmio (HMMIO) - input

      The open file handle returned by mmioOpen.

    lOffset (LONG) - input

      Specifies an offset, in bytes, to move the file position to.

    lOrigin (LONG) - input

      Specifies how the lOffset parameter is interpreted:

      SEEK_SET

        Seek to an absolute (bytes from the beginning of the file) seek position specified in the lOffset parameter. This is the default.
      SEEK_CUR
        Seek to a relative (bytes from the current file position) seek position specified in the lOffset parameter.
      SEEK_END
        Seek to lOffset bytes from the end of the file.
      MMIO_SEEK_IFRAME
        Seek to the nearest I-frame based on one of the previous flags. This flag can only be used with digital video only data tracks (or files).

      rc (LONG) - returns

        Returns the new file position (in bytes) from the beginning of the file. If an error occurs, MMIO_ERROR is returned. A call to mmioGetLastError might return the following error:

        MMIOERR_SEEK_FAILED

          Probable hardware error.


        [Back] [Next]