Share via


IStreamBufferConfigure3::SetStartRecConfig Method

This topic applies to Windows Vista or later.
The SetStartRecConfig method specifies whether the IStreamBufferRecordControl::Start method automatically stops the current recording.

Syntax

HRESULT SetStartRecConfig(
  [in]  BOOL fStartStopsCur
);

Parameters

  • fStartStopsCur [in]
    If TRUE, the Start method automatically stops the current recording. Otherwise, the Start method fails if another recording is in progress. The default value is FALSE.

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

By default, if another recording is still in progress, the IStreamBufferRecordControl::Start method fails. If the fStartStopsCur parameter is TRUE, the Start method will automatically stop a recording in progress.

Requirements

Header Declared in Sbe.h.

See Also

IStreamBufferConfigure3 Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008