MCIWndGetLength  AU_7Q 

The MCIWndGetLength macro retrieves the length of the content or file currently used by an MCI device. You can use this macro or explicitly send the MCIWNDM_GETLENGTH10DS.4W message.

LONG MCIWndGetLength(

    hwnd

 

   );

 

 

Parameters

hwnd

Handle of the MCIWnd window.

Return Values

Returns the length. The units for the length depend on the current time format.

Remarks

This value added to the value returned for the MCIWndGetStart macro equals the end of the content.

 

See Also

MCIWndGetStart, MCIWNDM_GETLENGTH