IltmmCapture::EstimateOutputBitRate Example for C

// Having an IltmmCapture Interface, pCap:

double BitRate;

// get the estimate bit rate before capturing starts (theoretical)
IltmmCapture_EstimateOutputBitRate (pCap, &BitRate);

// After starting capture, get the estimate output bit rate (estimate from actually written bytes)
IltmmCapture_EstimateOutputBitRate (pCap, &BitRate); 
// do something with the returned values.