The MMIOM_OPEN message is sent to an I/O procedure by the mmioOpen function to request that a file be opened or deleted.
MMIOM_OPEN
lParam1 = (LPARAM) lpszFileName
lParam2 = reserved
Returns MMSYSERR_NOERROR if successful or an error otherwise. Possible error values include the following:
MMIOM_CANNOTOPEN | The file could not be opened. |
MMIOM_OUTOFMEMORY | Not enough memory to perform the operation. |
The dwFlags member of the MMIOINFO structure contains flags passed to the mmioOpen function.
The lDiskOffset member of the MMIOINFO structure is initialized to zero. If this value is incorrect, the I/O procedure must correct it.
If the application passed an MMIOINFO structure to mmioOpen, the return value is returned in the wErrorRet member.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in mmsystem.h.
Multimedia File I/O Overview, Multimedia File I/O Messages, MMIOINFO, mmioOpen