ILMDVRSource::GetBufferTotalSize Example for C++

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

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