MCIWndPutSource

The MCIWndPutSource macro redefines 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_PUT_SOURCE message.

LONG MCIWndPutSource(
  hwnd,  
  prc    
);
 

Parameters

hwnd
Handle of the MCIWnd window.
prc
Address of a RECT structure containing the coordinates of the source rectangle.

Return Values

Returns zero if successful or an error otherwise.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.

See Also

MCIWnd Window Class Overview, MCIWnd Macros, MCIWNDM_PUT_SOURCE