rc (LONG) - returns

      Returns the number of bytes actually written. If an error occurs, MMIO_ERROR is returned. A call to mmioGetLastError might return one of the following errors:

      MMIOERR_READ_ONLY_FILE

        File not opened in WRITE mode.
      MMIOERR_INVALID_HANDLE
        Invalid handle specified.
      MMIOERR_WRITE_FAILED
        Unable to write; probable hardware error.
      MMIOERR_SEEK_FAILED
        Unable to seek; probable hardware error.
      MMIOERR_READ_FAILED
        Unable to read; probable hardware error.
      MMIOERR_INVALID_BUFFER_LENGTH
        The buffer length is invalid.
      MMIOERR_NO_BUFFER_ALLOCATED
        A buffer was expected but none was found.
      MMIOERR_CANNOTWRITE
        The target media has no space available.


      [Back] [Next]