LRESULT mmioSendMessage(hmmio, wMsg, lParam1, lParam2) | |||
HMMIO hmmio; | |||
UINT wMsg; | |||
LONG lParam1; | |||
LONG lParam2; |
The mmioSendMessage function sends a message to the I/O procedure associated with the specified file.
hmmio
Specifies the file handle for a file opened with mmioOpen.
wMsg
Specifies the message to send to the I/O procedure.
lParam1
Specifies a parameter for the message.
lParam2
Specifies a parameter for the message.
The return value depends on the message. If the I/O procedure does not recognize the message, the return value is 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.
mmioInstallIOProc