ltmmCapture_Mode Constants

typedef enum _ltmmCapture_Mode
{
   ltmmCapture_Mode_VideoOrAudio,
   ltmmCapture_Mode_VideoAndAudio,
   ltmmCapture_Mode_Video,
   ltmmCapture_Mode_Audio,
   ltmmCapture_Mode_ManualFrames,
   ltmmCapture_Mode_AutoFrames,
   ltmmCapture_Mode_Still,
  ltmmCapture_Mode_Mask = 0x000000FF,
  ltmmCapture_Mode_InhibitRun = 0x01000000,
  ltmmCapture_Mode_ModifierMask = 0xFF000000
} ltmmCapture_Mode;

The ltmmCapture_Mode constants define the type of capture to perform.

Constant

Description

ltmmCapture_Mode_VideoOrAudio

[0] Specifies that audio, video, or both should be captured.

ltmmCapture_Mode_VideoAndAudio

[1] Specifies that both, audio and video, should be captured.

ltmmCapture_Mode_Video

[2] Specifies that only video should be captured.

ltmmCapture_Mode_Audio

[3] Specifies that only audio should be captured.

ltmmCapture_Mode_ManualFrames

[4] Specifies that a manually triggered sequence of frames should be captured. The CaptureFrame method can be called to trigger each frame capture.

ltmmCapture_Mode_AutoFrames

[5] Specifies that an automatically triggered sequence of frames should be captured. The put_FrameDelay can be called to set the trigger schedule.

ltmmCapture_Mode_Still

[6] Specifies that still images will be retrieved through calls to GetStillDIB and GetStillPicture.

lmmCapture_Mode_Mask

[0x000000FF] Used internally to remove mode bits higher than 0x000000FF.

lmmCapture_Mode_InhibitRun

[0x01000000] Specifies that previewing images is inhibited.

lmmCapture_Mode_ModifierMask

[0xFF000000] Used internally to remove modifier bits lower than 0xFF000000.

See Also

IltmmCapture::ReadyCapture

IltmmCapture::StartCapture