◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── MCI_ESCAPE (VIDEODISC) This MCI command message sends a string directly to the device. This message is part of the videodisc command set. The parameters and flags for this message vary according to the selected device. Parameters DWORD dwFlags The following flags apply to all devices supporting MCI_ESCAPE: MCI_NOTIFY Specifies that MCI should post the MM_MCINOTIFY message when this command completes. The window to receive this message is specified in the dwCallback field of the data structure identified by lpEscape MCI_WAIT Specifies that the operation should finish before MCI returns control to the application. MCI_VD_ESCAPE_STRING Indicates a command string is specified in the lpstrCommand field of the data structure identified by lpEscape. This flag is required. LPMCI_VD_ESCAPE_PARMS lpEscape Specifies a far pointer to the MCI_VD_ESCAPE_PARMS data structure. (Devices with extended command sets might replace this data structure with a device-specific data structure.) Comments The data sent with MCI_ESCAPE is device dependent and is usually passed directly to the hardware associated with the device. Return value Returns zero if successful. Otherwise, it returns an MCI error code. -♦-