escape

The escape command sends device-specific information to a device. Videodisc devices recognize this command.

wsprintf(lpstrCommand, "escape %s %s %s", lpszDeviceID, lpszEscape, 
    lpszFlags); 
 

Parameters

lpszDeviceID
Identifier of an MCI device. This identifier or alias is assigned when the device is opened.
lpszEscape
Custom information to send to the device.
lpszFlags
Can be "wait", "notify", or both. For more information about these flags, see The Wait, Notify, and Test Flags.

Return Values

Returns zero if successful or an error otherwise.

Remarks

The following command sends the escape string "SA" to the videodisc device:

escape videodisc SA
 

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in wingdi.h.
  Import Library: Use gdi32.lib.

See Also

MCI Overview, MCI Command Strings