The mmioSendMessage function sends a message to the I/O procedure associated with the specified file.
LRESULT mmioSendMessage(
HMMIO hmmio,
UINT wMsg,
LPARAM lParam1,
LPARAM lParam2
);
Returns a value that corresponds to the message. If the I/O procedure does not recognize the message, the return value should be zero.
Use this function to send custom user-defined messages. Do not use it to send the MMIOM_OPEN, MMIOM_CLOSE, MMIOM_READ, MMIOM_WRITE, MMIOM_WRITEFLUSH, or MMIOM_SEEK messages. Define custom messages to be greater than or equal to the MMIOM_USER constant.
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, MMIOM_OPEN, MMIOM_CLOSE, MMIOM_READ, MMIOM_WRITE, MMIOM_WRITEFLUSH, MMIOM_SEEK