ILMDVRSink.GetStatus Method

DVR Module How To Examples

 

Syntax

Object.GetStatus(ByRef Status As DVRStatusConstants, ByRef CurrentFolderIndex As Long, ByRef CurrentRecordingIndex As Long, ByRef CurrentRecordingSize As Double)

 

Parameter

Description

Status

Pointer to an enumeration type that will receive the current DVR status. Returned values can be:

   DVRStatus_Stopped

   DVRStatus_Paused

   DVRStatus_Writing

 

CurrentFolderIndex

Pointer to a long type that will receive the current folder (0-based) index.

CurrentRecordingIndex

Pointer to a long type that will receive the current recording (0-based) index. This index is the number of the current LRC file.

CurrentRecordingSize

Pointer to a double type that will receive the current recording size in bytes.

Returns

S_OK

The function was successful.

<> S_OK

An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

 

Remarks

Gets the DVRSink status, buffer files location and buffer file index, and total current recording size.

The Status parameter can be one of the following values:  

See Also

Functions:

ILMDVRSink.GetAvailabilityInfo Method

Topics:

Multimedia Properties, Methods and Events , DVR Module Properties, Methods and Events