The MCIWNDM_OPEN message opens an MCI device and associates it with an MCIWnd window. For MCI devices that use data files, this macro can also open a specified data file, name a new file to be created, or display a dialog box to let the user select a file to open. You can send this message explicitly or by using the MCIWndOpen macro.
MCIWNDM_OPEN
wParam = (WPARAM) (UINT) wFlags;
lParam = (LPARAM) (LPVOID) szFile;
Returns zero if successful or an error otherwise.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
Unicode: Defined as Unicode and ANSI messages.
MCIWnd Window Class Overview, MCIWnd Messages, MCIWndOpen