|
MCIWndOpen
The MCIWndOpen macro 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 use this macro or explicitly send the MCIWNDM_OPEN message.
LONG MCIWndOpen(
Parameters
hwnd
Handle of the MCIWnd window.
szFile
Address of a null-terminated string identifying the filename or MCI device name to open. Specify 1 for this parameter to display the Open dialog box.
wFlags
Flags associated with the device or file to open. The MCIWNDOPENF_NEW flag
specifies a new file is to be created with the name specified in szFile.
Return Values
Returns zero if successful or an error otherwise.
See Also
MCIWNDM_OPEN
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|