The ltmmCapture_Mode constants define the type of capture to perform.
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_ManualFramesAndAudio,
ltmmCapture_Mode_AutoFramesAndAudio,
ltmmCapture_Mode_Mask = 0x000000FF,
ltmmCapture_Mode_InhibitRun = 0x01000000,
ltmmCapture_Mode_ModifierMask = 0xFF000000
} ltmmCapture_Mode;
[0] Specifies that audio, video, or both should be captured.
[1] Specifies that both, audio and video, should be captured.
[2] Specifies that only video should be captured.
[3] Specifies that only audio should be captured.
[4] Specifies that a manually triggered sequence of frames should be captured. The CaptureFrame method can be called to trigger each frame capture.
[5] Specifies that an automatically triggered sequence of frames should be captured. The put_FrameDelay can be called to set the trigger schedule.
[6] Specifies that still images will be retrieved through calls to GetStillHDIB and GetStillPicture.
[7] Specifies that a manually triggered sequence of frames and audio should be captured. The CaptureFrame method can be called to trigger each frame capture.
[8] Specifies that an automatically triggered sequence of frames and audio should be captured. The put_FrameDelay can be called to set the trigger schedule.
[0x000000FF] Used internally to remove mode bits higher than 0x000000FF.
[0x01000000] Specifies that previewing images is inhibited.
[0xFF000000] Used internally to remove modifier bits lower than 0xFF000000.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document