MMIOM_OPEN message
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
-
lpszFileName
-
Null-terminated string containing the name of the file to open.
-
lParam2
-
Reserved.
Returns MMSYSERR_NOERROR if successful or an error otherwise. Possible error values include the following:
Requirement | Value |
---|---|
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.
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|