Share via


IStreamBufferRecordControl::Stop Method

This topic applies only to Windows XP Service Pack 1 or later.
The Stop method stops the recording and closes the file.

Syntax

HRESULT Stop(
  [in]  REFERENCE_TIME rtStop
);

Parameters

  • rtStop [in]
    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

Header Declared in Sbe.h.

See Also

IStreamBufferRecordControl Interface
IStreamBufferRecordControl::Start

Send comments about this topic to Microsoft

Build date: 12/4/2008