MCIWndGetSource

The MCIWndGetSource macro retrieves the coordinates of the source rectangle used for cropping the images of an AVI file during playback. You can use this macro or explicitly send the MCIWNDM_GET_SOURCE message.

LONG MCIWndGetSource(
  hwnd,  
  prc    
);

Parameters

hwnd

Handle of the MCIWnd window.

prc

Pointer to a RECT structure to contain the coordinates of the source rectangle.

Return Values

Returns zero if successful or an error otherwise.

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

MCIWNDM_GET_SOURCE, RECT