13
13
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="mcisendstring">
15
<refname>mcisendstring</refname>
16
<refpurpose>sends a command string to an MCI
21
<title>Calling Sequence</title>
22
<synopsis>mcisendstring(mcistring)
23
bOK=mcisendstring(mcistring)
24
[bOK,CodeError]=mcisendstring(mcistring)
25
[bOK,CodeError,StringError]=mcisendstring(mcistring)
29
<title>Arguments</title>
32
<term>mcistring</term>
34
<para>a command string to send to an MCI device</para>
40
<para>returns %T or %F</para>
44
<term>CodeError</term>
46
<para>returns error code (0 --> if bOK == %T)</para>
50
<term>StringError</term>
52
<para>returns MCI interpreter message ('OK' --> if bOK ==
60
<title>Description</title>
61
<para>The mciSendString primitive sends a command string to an MCI device.
62
The device that the command is sent to is specified in the command
66
see on <ulink url="http://msdn.microsoft.com/library/default.asp">http://msdn.microsoft.com/library/default.asp</ulink> and search
67
"Windows Multimedia SDK open"
71
<title>Examples</title>
72
<programlisting role="example"><![CDATA[
15
<refname>mcisendstring</refname>
16
<refpurpose>sends a command string to an MCI
21
<title>Calling Sequence</title>
22
<synopsis>mcisendstring(mcistring)
23
bOK=mcisendstring(mcistring)
24
[bOK,CodeError]=mcisendstring(mcistring)
25
[bOK,CodeError,StringError]=mcisendstring(mcistring)
29
<title>Arguments</title>
32
<term>mcistring</term>
34
<para>a command string to send to an MCI device</para>
40
<para>returns %T or %F</para>
44
<term>CodeError</term>
46
<para>returns error code (0 --> if bOK == %T)</para>
50
<term>StringError</term>
52
<para>returns MCI interpreter message ('OK' --> if bOK ==
60
<title>Description</title>
61
<para>The mciSendString primitive sends a command string to an MCI device.
62
The device that the command is sent to is specified in the command
66
see on <ulink url="http://msdn.microsoft.com/library/default.asp">http://msdn.microsoft.com/library/default.asp</ulink> and search
67
"Windows Multimedia SDK open"
71
<title>Examples</title>
72
<programlisting role="example"><![CDATA[
73
73
mcisendstring("open ""d:\audio.mp3"" type MPEGVideo alias MP3_Device")
74
74
mcisendstring("play MP3_Device")
75
75
mcisendstring("close MP3_Device")