Chapter Contents |
Previous |
Next |
MCIPISTR |
Windows specifics: | all |
Syntax | |
Details | |
Example | |
See Also |
Syntax |
rc=MCIPISTR(MCI-string-command) |
Details |
The MCIPISTR function submits an MCI (Media Control Interface) string command.
You can use MCI to control many types of multimedia equipment, such as CD players, mixers, videodisc players, and so on. Windows provides MCI support. For more information about valid MCI string commands, refer to the Microsoft Win32 SDK and your MCI-compliant device documentation.
The return value is a string that contains return information from the MCI string command. Examples of return information include "invalid instance" and "1".
Note: Not all MCI commands supply
return codes that are usable from the SAS System
The MCIPISTR function can be used in the DATA step and in SCL code.
Example |
To use a CD player, you could submit the following statements in your DATA step:
msg=mcipistr("open cdaudio alias cd"); msg=mcipistr("play cd"); msg=mcipistr("stop cd"); msg=mcipistr("close cd");
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.