The settuner command changes the current tuner or the channel setting of the current tuner. VCR devices recognize this command.
wsprintf(lpstrCommand, "settuner %s %s %s", lpszDeviceID, lpszTuner,
lpszFlags);
channel channel | Sets the tuner to channel. You might not be able to change the channel while recording, depending on the VCR. A channel larger than the maximum sets the tuner to the maximum channel. |
channel seek up channel seek down |
Seeks the next channel with a valid signal. "Seek up" increments the channel number in its search. "Seek down" decrements the channel number in its search. The tuner wraps to channel 1 when the maximum channel number is exceeded. Similarly, when seeking down, the tuner wraps to the maximum channel. |
channel up channel down |
Increments or decrements the tuner channel. You might not be able to change the channel while recording, depending on the VCR. The tuner wraps to channel 1 when the maximum channel number is exceeded. Similarly, when seeking down, the tuner wraps to the maximum channel. |
number number | Specifies the tuner to be affected by the settuner command. If number is not given, the default value of 1 is assumed. |
Returns zero if successful or an error otherwise.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
MCI Overview, MCI Command Strings