spin
The spin
command starts spinning a disc or stops the disc from spinning. Videodisc
devices recognize this command.
wsprintf(lpstrCommand, "spin %s %s %s",
lpszDeviceID, lpszUpDown,
lpszFlags);
Parameters
lpszDeviceID
Identifier of
an MCI device. This identifier or alias is assigned when the device is opened.
lpszUpDown
One of the
following flags:
down |
Stops the
disc from spinning. |
up |
Starts
spinning the disc. |
lpszFlags
Can be
wait , notify , or both. For more information about these flags, see The
Wait, Notify, and Test Flags
Return Values
Returns zero
if successful or an error otherwise.
Remarks
The following
command starts spinning a videodisc device:
spin videodisc up