Group: Windows Multimedia - Library: winmm
The mmioOpen function opens a file for unbuffered or buffered I/O. The file can be a standard file, a memory file, or an element of a custom storage system.
WAV file player
Class for sound recording
Changing pitch and speed of a wave file
Adding supplementary data to AVI files
Playing WAV sounds simultaneously
HMMIO mmioOpen(
LPSTR szFilename,
LPMMIOINFO lpmmioinfo,
DWORD dwOpenFlags
);
DECLARE INTEGER mmioOpen IN winmm;
STRING szFilename,;
STRING @ lpmmioinfo,;
INTEGER dwOpenFlags
szFilename Pointer to a string containing the filename of the file to open.
lpmmioinfo Pointer to an MMIOINFO structure containing extra parameters used by mmioOpen.
dwOpenFlags Flags for the open operation.
Returns a handle of the opened file. If the file cannot be opened, the return value is NULL.
The handle returned by mmioOpen is not a standard file handle. Do not use it with any file I/O functions other than multimedia file I/O functions.