The mmioWrite function writes a specified number of bytes to a file opened by using the mmioOpen function.
LONG mmioWrite(
HMMIO hmmio,
char _huge* pch,
LONG cch
);
Returns 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.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in mmsystem.h.
Import Library: Use winmm.lib.
Multimedia File I/O Overview, Multimedia File I/O Functions, mmioOpen