Microsoft DirectX 9.0

IStreamBufferRecComp::GetCurrentLength

The GetCurrentLength method retrieves the length of the target file.

Syntax

HRESULT GetCurrentLength(
    DWORD *pcSeconds
);

Parameters

pcSeconds

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

Return Values

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

Value 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

Include Sbe.h.

See Also