hmmio (HMMIO) - input

      The open file handle returned by mmioOpen.

    usFlags (USHORT) - input

      Contains none or the following flag:

      MMIO_EMPTYBUF

        Empties the I/O buffer. The allocated buffer is not dropped, but the calling mmioGetInfo will reveal that the pchNext field of the MMIOINFO structure will point to pchEndRead.

      rc (USHORT) - returns

        Return codes indicating success or type of failure:

        MMIO_SUCCESS

          If the function succeeds, 0 is returned.
        MMIOERR_INVALID_HANDLE
          The handle passed was not valid.
        MMIOERR_CANNOTWRITE
          The buffer could not be written to the disk. The disk could be full.
        MMIOERR_WRITE_FAILED
          The buffer could not be written to the disk. This is a possible hardware problem.
        MMIOERR_NO_BUFFER_ALLOCATED
          A buffer was expected but was not present.
        MMIOERR_NO_FLUSH_NEEDED
          A mmioFlush function was requested, but the buffer was empty.
        MMIOERR_NO_FLUSH_FOR_MEM_FILE
          A mmioFlush was requested on a MEM file.


        [Back] [Next]