void OutputSizeEstimation(IltmmCapture *pCapture) { double Size; // start capture pCapture->StartCapture(ltmmCapture_Mode_VideoAndAudio); // After starting capture, get the expected output size for a capture of 5 seconds pCapture->EstimateOutputSize(5.0, &Size); // do something with the returned value. }