IltmmCapture::get_CameraControl Example for C

void IltmmCapture_get_CameraControl_Example (IltmmCapture* pCapture) 
{ 
   IltmmCameraControl* pCamera; 
   long lMin, lMax, lSteppingDelta, lDefault, lCapsFlags, lVal, lFlag; 
 
 
   IltmmCapture_get_CameraControl(pCapture, &pCamera); 
 
   IltmmCameraControl_GetRange(pCamera, ltmmCameraControl_Zoom, &lMin, &lMax, &lSteppingDelta, &lDefault, &lCapsFlags); 
 
   IltmmCameraControl_Get(pCamera, ltmmCameraControl_Zoom, &lVal, &lFlag); 
 
   lVal = (lMax + lMin) / 2; 
 
   IltmmCameraControl_Set(pCamera, ltmmCameraControl_Zoom, lVal, lFlag); 
 
   IltmmCameraControl_Release(pCamera); 
} 
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.