|Microsoft DirectX 9.0|
The GetCurrentLength method retrieves the length of the target file.
HRESULT GetCurrentLength( DWORD *pcSeconds );
[out] Pointer to a variable that receives the current length, in seconds.
Returns an HRESULT value. Possible values include those in the following table.
To get accurate updates, you can call this method continually from one thread while another thread performs append operations.