IltmmCameraControl::GetRange Example for C++
IltmmCameraControl* pCamera;
long lMin, lMax, lSteppingDelta, lDefault, lCapsFlags, lVal, lFlag;
m_capture->get_CameraControl(&pCamera);
pCamera->GetRange(ltmmCameraControl_Zoom, &lMin, &lMax, &lSteppingDelta, &lDefault, &lCapsFlags);
pCamera->Get(ltmmCameraControl_Zoom, &lVal, &lFlag);
lVal = (lMax + lMin) / 2;
pCamera->Set(ltmmCameraControl_Zoom, lVal, lFlag);
pCamera->Release();