escape command
The escape command sends device-specific information to a device. Videodisc devices recognize this command.
To send this command, call the mciSendString function with the lpszCommand parameter set as follows.
_stprintf_s(
lpszCommand,
TEXT("escape %s %s %s"),
lpszDeviceID,
lpszEscape,
lpszFlags
);
-
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.
Returns zero if successful or an error otherwise.
The following command sends the escape string "SA" to the videodisc device.
escape videodisc SA
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |