settimecode

The settimecode command enables or disables timecode recording for a VCR. VCR devices recognize this command.

wsprintf(lpstrCommand, "settimecode %s %s %s", lpszDeviceID,
    lpszTimecode, lpszFlags); 
 

Parameters

lpszDeviceID
Identifier of an MCI device. This identifier or alias is assigned when the device is opened.
lpszTimecode
One of the following flags:
record on Sets the VCR to record timecode.
record off Disables timecode recording.

lpszFlags
Can be "wait", "notify", "test", or a combination of these. For more information about these flags, see The Wait, Notify, and Test Flags.

Return Values

Returns zero if successful or an error otherwise.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.

See Also

MCI Overview, MCI Command Strings