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);
}