Edit

Share via


MCIWndSeek macro (vfw.h)

The MCIWndSeek macro moves the playback position to the specified ___location in the content. You can use this macro or explicitly use the MCI_SEEK command.

Syntax

LONG MCIWndSeek(
     hwnd,
     lPos
);

Parameters

hwnd

Handle of the MCIWnd window.

lPos

Position to seek. You can specify a position using the current time format, the MCIWND_START constant to designate the beginning of the content, or the MCIWND_END constant to designate the end of the content.

Return value

Type: LONG

Returns zero if successful or an error otherwise.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header vfw.h