Share via


IStreamBufferRecComp::GetCurrentLength Method

The GetCurrentLength method retrieves the length of the target file.

Syntax

HRESULT GetCurrentLength(
  [out]  DWORD *pcSeconds
);

Parameters

  • pcSeconds [out]
    Pointer to a variable that receives the current length, in seconds.

Return Value

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

Return code Description

S_OK

Success

Remarks

To get accurate updates, you can call this method continually from one thread while another thread performs append operations.

Requirements

Header Declared in Sbe.h.

See Also

IStreamBufferRecComp Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008