rc (USHORT) - returns
Return
codes indicating success or type of failure:
MMIO_SUCCESS
If the function succeeds, 0 is returned.
MMIOERR_UNBUFFERED
The
specified file is not opened for buffered I/O.
MMIOERR_INVALID_HANDLE
The handle passed was not valid.
MMIOERR_INVALID_PARAMETER
An invalid parameter was passed.
MMIOERR_READ_ONLY_FILE
A write-advance operation was requested for a read-only
file.
MMIOERR_WRITE_ONLY_FILE
A
read-advance operation was requested for a file opened as write only.
MMIOERR_WRITE_FAILED
A write-advance operation failed.
MMIOERR_READ_FAILED
A read-advance operation failed.
MMIOERR_SEEK_FAILED
A seek operation prior to a write- or read-advance
operation failed.
MMIOERR_NO_FLUSH_NEEDED
A
write-advance operation was requested for the buffer, but the operation
was not required.
MMIOERR_OUTOFMEMORY
An
advance operation requires a buffer.
MMIOERR_CANNOTEXPAND
Unable to expand a MEM file for an advance request.
MMIOERR_FREE_FAILED
Unable
to free a buffer after expanding a MEM file.
[Back]
[Next]