Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The mmioWrite function writes a specified number of bytes to a file opened by using the mmioOpen function.
LONG mmioWrite(
HMMIO hmmio,
const char _huge *pch,
LONG cch
);
hmmio
File handle of the file.
pch
Pointer to the buffer to be written to the file.
cch
Number of bytes to write to the file.
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.
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | mmiscapi.h (include Mmiscapi.h, Windows.h) |
Library | Winmm.lib |
DLL | Winmm.dll |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today