Share via


IStreamBufferRecordControl::GetRecordingStatus Method

This topic applies only to Windows XP Service Pack 1 or later.
The GetRecordingStatus method retrieves the status of the recording.

Syntax

HRESULT GetRecordingStatus(
  [out]  HRESULT *phLastResult,
  [out]  BOOL *pbStarted,
  [out]  BOOL *pbStopped
);

Parameters

  • phLastResult [out]
    Pointer to a variable that receives an HRESULT value. The HRESULT value indicates the current status of writing or closing the file. This parameter can be NULL.

  • pbStarted [out]
    Pointer to a variable that receives a Boolean value, indicating whether the recording has started,

    Value Description
    TRUE The recording has started.
    FALSE The recording has not started.

    This parameter can be NULL.

  • pbStopped [out]
    Pointer to a variable that receives a Boolean value, indicating whether recording has been stopped.

    Value Description
    TRUE The recording has stopped.
    FALSE The recording has not stopped, or has not started yet.

    This parameter can be NULL.

Return Value

Returns an HRESULT. Possible values include those in the following table.

Return code Description

S_OK

The method succeeded.

Remarks

This method reports the status of the Start and Stop methods, which themselves are asynchronous.

Requirements

Header Declared in Sbe.h.

See Also

IStreamBufferRecordControl Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008