MCIWndGetLength macro

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.

Syntax


UINT MCIWndGetLength(
    hwnd
);

Parameters

hwnd

Handle of the MCIWnd window.

Return value

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

See also

MCIWndGetStart
MCIWNDM_GETLENGTH

 

 

Show: