The MCIWNDM_GET_SOURCE message retrieves the coordinates of the source rectangle used for cropping the images of an AVI file during playback. You can send this message explicitly or by using the MCIWndGetSource macro.
MCIWNDM_GET_SOURCE
wParam = 0;
lParam = (LPARAM) (LPRECT) prc;
Returns zero if successful or an error otherwise.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
MCIWnd Window Class Overview, MCIWnd Messages, MCIWndGetSource, RECT