Export (0) Print
Expand All
Expand Minimize

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 


Parameters

lpszFileName

Null-terminated string containing the name of the file to open.

lParam2

Reserved.

Return Value

Returns MMSYSERR_NOERROR if successful or an error otherwise. Possible error values include the following:

MMIOM_CANNOTOPENThe file could not be opened.
MMIOM_OUTOFMEMORYNot 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.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mmsystem.h (include Windows.h)

 

 

Community Additions

ADD
Show:
© 2015 Microsoft