MCI_DGV_MONITOR_PARMS

The MCI_DGV_MONITOR_PARMS structure contains parameters for the MCI_MONITOR command.

typedef struct  {
    DWORD_PTR dwCallback;
    DWORD     dwSource;  
    DWORD     dwMethod;  
} MCI_DGV_MONITOR_PARMS;
 

Members

dwCallback

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

dwSource

One of the following flags for the monitor source:

MCI_DGV_MONITOR_FILE

The workspace is the presentation source. (This is the default source.) If this flag is used during recording, the recording pauses. If the MCI_MONITOR command changes the presentation source, recording or playing stops and the current position is the value returned by the MCI_STATUS command for the start position.

MCI_DGV_MONITOR_INPUT

The external input is the presentation source. Playback is paused before the input is selected. If the MCI_SETVIDEO command has been enabled using the MCI_SET_ON flag, this flag displays a default hidden window. Device drivers might limit what other device instances can do while monitoring input.

dwMethod

One of the following constants for the type of monitoring:

MCI_DGV_METHOD_DIRECT

The device should be configured for optimum display quality during monitoring. Direct monitoring might be incompatible with motion-video recording.

MCI_DGV_METHOD_POST

The device should show the external input after compression. Post monitoring supports motion-video recording.

MCI_DGV_METHOD_PRE

The device should show the external input prior to compression.

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

**  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 Digitalv.h.

See Also

MCI, MCI Structures, MCI_MONITOR, MCI_SETVIDEO, MCI_STATUS, mciSendCommand