C Source
IltmmCapture* pCapture;CoCreateInstance(&CLSID_ltmmCapture, NULL, CLSCTX_INPROC_SERVER, &IID_IltmmCapture, (void**) &pCapture);
C++ Source
IltmmCapture* pCapture;CoCreateInstance(CLSID_ltmmCapture, NULL, CLSCTX_INPROC_SERVER, IID_IltmmCapture, (void**) &pCapture);
C Source
IltmmDevices* pDevices;// get an interface into video devices collectionIltmmCapture_get_VideoDevices(pCapture, &pDevices);// select the first video deviceIltmmDevices_put_Selection (pDevices, 0);// release collectionIUnknown_Release(pDevices);
C++ Source
IltmmDevices* pDevices;// get an interface into video devices collectionpCapture->get_VideoDevices(&pDevices);// select devicepDevices->put_Selection(0);// release collectionpDevices->Release();
C Source
BSTR bstr;// create a string containing the target file pathbstr = SysAllocString(L"c:\\target.mpg");// assign the target file path to the capture objectIltmmCapture_put_TargetFile (pCapture, bstr);// free the stringSysFreeString(bstr);
C++ Source
BSTR bstr;// create a string containing the target file pathbstr = SysAllocString(L"c:\\target.mpg");// assign the target file path to the capture objectpCapture->put_TargetFile (bstr);// free the stringSysFreeString(bstr);
C Source
IltmmCapture_StartCapture (pCapture, ltmmCapture_Mode_Still); C++ Source
pCapture->StartCapture (ltmmCapture_Mode_Still); 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
