MCI_OVLY_SAVE_PARMS structure

The MCI_OVLY_SAVE_PARMS structure contains information for the MCI_SAVE command for video-overlay devices.

Syntax

typedef struct {
  DWORD_PTR dwCallback;
  LPCTSTR   lpfilename;
  RECT      rc;
} MCI_OVLY_SAVE_PARMS;

Members

  • dwCallback
    The low-order word specifies a window handle used for the MCI_NOTIFY flag.

  • lpfilename
    Name of file to save.

  • rc
    Rectangle indicating the area of the video buffer to save. RECT structures are handled differently in MCI than in other parts of Windows; in MCI, rc.right contains the width of the rectangle and rc.bottom contains its height.

Remarks

When assigning data to the members of this structure, set the corresponding flags in the fdwCommand parameter of the mciSendCommand function to validate the members.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mmsystem.h (include Windows.h)

See also

MCI

MCI Structures

MCI_SAVE

mciSendCommand

RECT