IltmmConvert::EstimateOutputBitRate Example for C

/* Having an IltmmConvert Interface, pConv: */

double BitRate;

/* get the estimate bit rate before conversion starts (theoretical) */
IltmmConvert_EstimateOutputBitRate (pConv, &BitRate);

/* After starting conversion, get the estimate output bit rate (estimate from actually written bytes) */
IltmmConvert_EstimateOutputBitRate (pConv, &BitRate); 
/* do something with the returned values. */

L_MULTIMEDIATEX_API void IltmmConvert_EstimateOutputBitRate_Example (IltmmConvert* pConvert)
{
   double BitRate;

   /* get the estimate bit rate before conversion starts (theoretical) */
   IltmmConvert_EstimateOutputBitRate (pConvert, &BitRate);

   /* After starting conversion, get the estimate output bit rate (estimate from actually written bytes) */
   IltmmConvert_EstimateOutputBitRate (pConvert, &BitRate); 
   /* do something with the returned values. */
}