Index   Commented   Search   About

MCI_ESCAPE

The MCI_ESCAPE command sends a string directly to the device. Videodisc devices recognize this command.

MCIERROR mciSendCommand(MCIDEVICEID wDeviceID, MCI_ESCAPE,
DWORD dwFlags, (DWORD) (LPMCI_VD_ESCAPE_PARMS) lpEscape);

Parameters

wDeviceID

Device identifier of the MCI device that is to receive the command message.

dwFlags

MCI_NOTIFY or MCI_WAIT. For information about these flags, see The Wait, Notify, and Test Flags.

lpEscape

Address of an MCI_VD_ESCAPE_PARMS structure.

Return Values

Returns zero if successful or an error otherwise.

Remarks

The data sent with MCI_ESCAPE is device-dependent and is usually passed directly to the hardware associated with the device.

The following additional flag applies to videodisc devices:

MCI_VD_ESCAPE_STRING

A command string is specified in the lpstrCommand member of the structure identified by lpEscape. This flag is required.

See Also

MCI_VD_ESCAPE_PARMS

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

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun