LONG mmioRead(hmmio, pch, cch)
This function reads a specified number of bytes from a file opened with mmioOpen.
HMMIO hmmio
Specifies the file handle of the file to be read.
HPSTR pch
Specifies a huge pointer to a buffer to contain the data read from the file.
LONG cch
Specifies the number of bytes to read from the file.
The return value is the number of bytes actually read. If the end of the file has been reached and no more bytes can be read, the return value is zero. If there is an error reading from the file, the return value is -1.
mmioWrite