LONG mmioWrite(hmmio, pch, cch)
This function writes a specified number of bytes to a file opened with mmioOpen.
HMMIO hmmio
Specifies the file handle of the file.
HPSTR pch
Specifies a huge pointer to the buffer to be written to the file.
LONG cch
Specifies the number of bytes to write to the file.
The return value is the number of bytes actually written. If there is an error writing to the file, the return value is -1.
The current file position is incremented by the number of bytes written.
mmioRead