Share via


IStreamBufferRecordControl::Stop method (sbe.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

The Stop method stops the recording and closes the file.

Syntax

HRESULT Stop(
  [in] REFERENCE_TIME rtStop
);

Parameters

[in] rtStop

Specifies when the recording stops. The time is relative to the current stream time, in 100-nanosecond units. The value zero represents now; negative values are in the past; and positive values are in the future.

For content recordings, the valid range is from 0 to 5 seconds (50000000), inclusive. Negative times are not valid.

For reference recordings, a negative time is valid if it falls within valid recorded content.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Remarks

The stop time must be greater than or equal to the start time.

Requirements

Requirement Value
Minimum supported client Windows�XP with SP1 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header sbe.h

See also

IStreamBufferRecordControl Interface

IStreamBufferRecordControl::Start