ILMDVRSource::GetBufferTotalSize Example for C

void OnGetBufferTotalSize(ILMDVRSource* pSource)
{
   long index = 0;
   long flags = DVRGetTotalSize_Allowed ;
   long filesCount;
   double totalFileSize;

   ILMDVRSource_ GetBufferTotalSize  (pSource, index, flags, &filesCount, &totalFileSize);
}