Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MCI_ESCAPE command

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

To send this command, call the mciSendCommand function with the following parameters.



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

Pointer to an MCI_VD_ESCAPE_PARMS structure.

Return Value

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.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mmsystem.h (include Windows.h)

See also

MCI
MCI Commands

 

 

Community Additions

Show:
© 2014 Microsoft