MCIWndGetLength

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_GETLENGTH 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.

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Vfw.h.

See Also

MCIWndGetStart, MCIWNDM_GETLENGTH