|
MCI_MONITOR
The MCI_MONITOR command specifies the presentation source. Digital-video devices recognize
this command.
MCIERROR mciSendCommand(MCIDEVICEID wDeviceID, MCI_MONITOR,
DWORD dwFlags, (DWORD) (LPMCI_DGV_MONITOR_PARMS) lpMonitor);
Parameters
wDeviceID
Device identifier of the MCI device that is to receive the command message.
dwFlags
MCI_NOTIFY, MCI_WAIT, or MCI_TEST. For information about these flags, see The Wait, Notify, and Test Flags.
lpMonitor
Address of an MCI_DGV_MONITOR_PARMS structure.
Return Values
Returns zero if successful or an error otherwise.
Remarks
The following additional flags apply to digital-video devices:
MCI_DGV_MONITOR_METHOD
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.
MCI_DGV_MONITOR_SOURCE
A constant indicating the monitor source is included in the dwSource member of the structure identified by lpMonitor.
See Also
MCI_DGV_MONITOR_PARMS
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|