The MCI_MONITOR command specifies the presentation source. Digital-video devices recognize this command.
To send this command, call the mciSendCommand function with the following parameters.
MCIERROR mciSendCommand( MCIDEVICEID wDeviceID, MCI_MONITOR, DWORD dwFlags, (DWORD) (LPMCI_DGV_MONITOR_PARMS) lpMonitor );
Device identifier of the MCI device that is to receive the command message.
MCI_NOTIFY, MCI_WAIT, or MCI_TEST. For information about these flags, see The Wait, Notify, and Test Flags.
Pointer to an MCI_DGV_MONITOR_PARMS structure.
Returns zero if successful or an error otherwise.
The following additional flags apply to digital-video devices:
A constant indicating the method of monitoring is included in the dwMethod member of the structure identified by lpMonitor.
When the MCI_DGV_MONITOR_INPUT flag is used in the dwSource member, this selects the method of monitoring. Typically, different monitoring methods have different implications on how the hardware is used. The default monitoring method is selected by the device.
A constant indicating the monitor source is included in the dwSource member of the structure identified by lpMonitor.
** 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 Mmsystem.h; include Windows.h.