The mmioRead function reads a specified number of bytes from a file opened by using the mmioOpen function.
LONG mmioRead(
HMMIO hmmio,
HPSTR pch,
LONG cch
);
Returns 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 0. If there is an error reading from the file, the return value is – 1.
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