MMIOM_OPEN
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
Parameters
lpszFileName
Null-terminated
string containing the name of the file to open.
lParam2
Reserved.
Return Values
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. |
Remarks
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.
See Also