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
Address of a RECT structure to contain 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_GET_SOURCE, RECT